home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / openlookgui < prev    next >
Encoding:
Text File  |  1995-04-11  |  88.1 KB  |  2,118 lines

  1. Archive-name: open-look/01-general
  2.  
  3.  
  4. Frequently-asked questions about the OPEN LOOK Graphical User Interface.
  5.  
  6. If your question isn't here, please try (at *least*)
  7.     man openwin
  8.     man xnews
  9.     man 7 xview
  10. and looking in the appropriate manuals listed in the Bibliography below
  11. before posting to the comp.windows.open-look, comp.windows.x or
  12. alt.toolkits.xview newsgroups and/or their corresponding mailing lists.
  13.  
  14. Frequently Asked Questions for X11 are posted to comp.windows.x monthly.
  15.  
  16. This is version: $Revision: 1.51 $; Last posted version:  1.48
  17.  
  18. Contents: (in rn and trn you can use control-G to go to the next topic)
  19.  
  20.     Subject: Terminology: OPEN LOOK, OpenWindows, X11, XView, (MO)OLIT, Motif
  21.     Subject: The COSE agreement
  22.     Subject: Window Managers -- olwm, olvwm
  23.     Subject: OpenWindows, Terminals, and Other Displays
  24.     Subject: Configuration Files: Getting started with OpenWindows
  25.     Subject: Key Bindings, Cut and Paste
  26.     Subject: Applications: Finding Out...
  27.     Subject: DeskSet, Calendar Manager, etc.
  28.     Subject: Trouble Shooting: Strange Error Messages
  29.     Subject: Trouble Shooting: It Won't Let Me Type
  30.     Subject: Trouble Shooting: Not authorized to use display
  31.     Subject: Trouble Shooting: other common problems
  32.     Subject: Trouble Shooting: XView problems
  33.     Subject: Fonts
  34.     Subject: Environment Variables
  35.     Subject: Where Can I get It? Ftp, implementations, etc...
  36.     Subject: Bibliography -- books, manuals, journals, papers, beer-mats
  37.     Subject: Getting this File, Revision History, Recent Changes
  38.  
  39.  
  40. Subject: Terminology: OPEN LOOK, OpenWindows, X11, XView, OLIT, MOOLIT, Motif
  41.  
  42. @ What is OPEN LOOK?
  43.     OPEN LOOK is a specification of a Graphical User Interface (GUI).
  44.     A GUI determines the `look and feel' of a system -- the shape of
  45.     windows, buttons and scroll-bars, how you resize things, how you
  46.     edit files, etc.
  47.  
  48.     The OPEN LOOK GUI is specified, developed and maintained jointly by
  49.     Sun Microsystems and AT&T (or USL?).
  50.  
  51.     See Also:
  52.     Bibliography
  53.  
  54. @ What is OpenWindows?
  55.     OpenWindows is a windowing environment that conforms to the OPEN LOOK
  56.     Graphical User Interface Specifications.  It's compatible with the
  57.     X11 window system from MIT as well as (currently) Sun's NeWS and SunView,
  58.     so you can intermix programs written for any of those systems.
  59.     It comes from Sun and also with System V Release 4 from certain vendors.
  60.     OpenWindows is sometimes also called openwin or xnews, after the
  61.     program used to start it and the main executable itself, respectively.
  62.     It should not be called `Windows' or 'OPEN LOOK' or `OpenLook', as
  63.     these terms are either wrong or apply to something else.
  64.     A commerical OpenWindows source licence costs about $5,000 for the server,
  65.     plus about $25,000 for DeskSet, and another $40,000 for ToolTalk.
  66.     The current versions of OpenWindows for various platforms are:
  67.     SunOS 4.1.1 on Sun 3: 2.0
  68.     Solaris 1.x (SunOS 4.1.x) on SPARC: 3.0
  69.     Solaris 2.0 (SunOS 5) on SPARC: 3.0.1
  70.  
  71.     See Also:
  72.     Mixing X11 and OpenWindows
  73.     Where can I get it?
  74.  
  75. @ What are OLIT, XView and TNT?
  76.     These are all toolkits for programmers to use in developing programs
  77.     that conform to the OPEN LOOK specifications.  See the Bibliography
  78.     for documentation on the individual toolkits.  Here's a brief summary:
  79.  
  80.     OLIT was AT&T's OPEN LOOK Intrinsics Toolkit for the X Window system;
  81.     it used a widget set, and was probably the easiest for people who were
  82.     already X11/Xt programmers to learn.  You could buy the source from AT&T,
  83.     although you didn't get the same version tht Sun ship.  Sun includes the
  84.     OLIT library in OpenWindows (q.v.); it is also often included in
  85.     System V Release 4.  It was written in C.  OLIT support passed to USL
  86.     (then a division of AT&T, now owned by Novell), who replaced it with
  87.     MoOLIT (q.v.).
  88.     Note that because of the nature of Xt subclassing, you will probably
  89.     want or need OLIT source in order to develop a large application or
  90.     anything else that uses subclasses.
  91.     [see the proceedings of the 1991 X Technical Conference]
  92.     OLIT was until recently Sun's recommended toolkit, although until
  93.     Solaris 2 was released OLIT lacked a long way behind XView (q.v.) in
  94.     many important areas.
  95.  
  96.     XView is Sun's toolkit for X11, written in C.  XView is similar in
  97.     programmer interface to SunView.  There's even a shell script to help
  98.     migrate source code from SunView to XView.     XView is often said to be
  99.     the easiest toolkit to learn if you are not familiar with X Windows.
  100.     The XView toolkit is included in OpenWindows, and full source is
  101.     available by anonymous ftp from export.lcs.mit.edu (and elsewhere).
  102.     The current version of XView from Sun is 3.2.  The XView toolkit is
  103.     still supported by Sun, although few if any enhancements beyond version
  104.     3.2 should be expected.
  105.  
  106.     The NeWS Toolkit (TNT) was an object-oriented programming system based
  107.     on the PostScript language and NeWS.  TNT implements many of the
  108.     OPEN LOOK interface components required to build the user interface of
  109.     an application.  It's included in OpenWindows up to release 3.2, but is
  110.     not supported (and will not run) under OpenWindows 3.3 (based on X11R5).
  111.  
  112.     The current version of TNT from Sun is 3.1; Release 3 contains some
  113.     incompatibilities with `tNt' 1.0 and TNT 2.0, but Sun were committed to
  114.     supporting the API, at least until they released Solaris 2.3 and `replaced'
  115.     it with Display PostScript.  Wail.
  116.     Sun currently asserts that it is committed to OLIT, however.
  117.     Correction: Sun is now committed to COSE, which is committed to a new
  118.     Motif toolkit, and OLIT support will presumably be dropped until the
  119.     wind changes again.
  120.     Note:
  121.     Solaris 2.3 does not include Motif: SMCC is shipping Motif separately
  122.     as part of the Solaris Software Developer's Kit.  In addition, SMCC
  123.     is shipping an unbundled version of the Motif toolkit.
  124.  
  125.     The C++ User Interface Toolkit (UIT) consists of an object-oriented C++
  126.     class library layered on top of XView and a tool to generate code from
  127.     DevGuide 3 GIL files.  The UIT also includes features that simplify
  128.     event management and the use of PostScript and color.  It is said to be
  129.     compatible with OpenWindows V2 and V3, and presumably beyond, since the
  130.     release mentions that it works on Solaris 2.
  131.     UIT is not an official Sun-supported product but an ongoing project of
  132.     various people within Sun.  It can be found on export.lcs.mit.edu in
  133.     the MIT contrib directory as UITV2.tar.Z
  134.  
  135. @ Where does Motif fit in?
  136.     Motif is an alternative Graphical User Interface that was developed by OSF.
  137.     It has a `look and feel' reminiscent of Microsoft Windows and the OS/2
  138.     Presentation Manager.  There are no non-commercial Motif toolkits
  139.     available, and the Motif source by OSF is fairly expensive.
  140.     Fresco (in X11R6) will have a Motif-like user interface; TK, based on
  141.     the tcl language, looks a little like Motif.
  142.     There are commercial XView to Motif translation tools, such as Accent's.
  143.     OSF/Motif will be included in COSE (q.v.) in a somewhat changed form.
  144.  
  145. @ What is MoOLIT?
  146.     MoOLIT is a version of OLIT from AT&T/USL that lets users choose between
  147.     a Motif and an OPEN LOOK UI feel at run-time.  It will be part of System V
  148.     Release 4.2.  Contact: Joanne Newbauer, jo@usl.com, (908) 522-6677
  149.  
  150. @ What about that Display PostScript thing?
  151.     Sun and Adobe agreed that Sun include the DPS extension to X in
  152.     OpenWindows, and this is in Solaris 2.3 and later.
  153.     Unfortunately, this has also meant dropping the NeWS server, and hence
  154.     the NeWS toolkit (TNT), with what many consider to be a significant loss
  155.     of functionality and ease of programmability as a result.  On the other
  156.     hand, a number of commercial applications such as Adobe Illustrator and
  157.     Adobe PhotoShop have being ported to the Sun.
  158.     See the Solaris Porting guide [see Bibliography below] for a few more
  159.     details.
  160.  
  161. Subject: The COSE agreement
  162.  
  163. @ What is COSE?
  164.     The Common Operating System Environment is an agreement by several of the
  165.     largest Unix manufacturers, including e.g. Sun, HP, IBM and SCO, to provide
  166.     a compatible windowing environment (CDE) across all platforms.  It's widely
  167.     rumoured that only fear of Windows NT could have brought this on.
  168.  
  169. @ What's it like?
  170.     A snapshot of the Common Desktop Environment for HP, Sun, IBM, USL, SCO
  171.     has been released on CD/ROm and was given out at the CDE develoer's
  172.     conference.
  173.  
  174.     Some of the features include:
  175.     * Sun's Mailtool and Calander Manager
  176.     * Sun's ToolTalk protocol for desktop interoperability
  177.     * IXI's desktop file manager
  178.     * HP's VUE desktop manager - a little like olvwm without the map
  179.     * a Motif toolkit that offers all of the OPEN LOOK UI controls and
  180.       window decorations.  It isn't clear to me in what way it's still Motif.
  181.     * various games and demonstrations, `the entertainment value of these
  182.       should not be underestimated' :-)
  183.     * Sun's F3 outline font technology [actually I don't see this yet]
  184.  
  185. @ Why would I want it?
  186.     If you're using OpenWindows you probably don't, particularly, but you're
  187.     not the targeted market.  If you are not yet using X11 at all, or if you
  188.     get fed up of all the differences between the various vendors' X11
  189.     environments, you'll probably be interested.
  190.  
  191. @ When can I have it?
  192.     Not until the end of 1994, in order to give Windows NT a fair start :-)
  193.  
  194.  
  195. Subject: Window Managers -- olwm, olvwm
  196.  
  197. @ What are olwm and olvwm?
  198.     They are window managers.  A window manager is the part of the X Window
  199.     system (e.g. X11) that is responsible for deciding how to lay out windows
  200.     on the screen, and for managing the user's interaction with the windows.
  201.  
  202.     Olwm is the standard OPEN LOOK window manager.
  203.     It's included with all of the OpenWindows (q.v.) implementations, and
  204.     you can also get the source by ftp, since Sun donated it.
  205.  
  206.     Olvwm is a version of olwm that manages a `virtual desktop' (hence the
  207.     `v' in its name).  It shows a little map on the screen, with the
  208.     currently displayed area represented by a little rectangle.     You can
  209.     move around by dragging the rectangle or with the arrow keys.  This
  210.     lets you run several clients (applications) and move the display around
  211.     from one to the other.  Olvwm was derived by Scott Oaks from the Open-
  212.     Windows 3 olwm; you need to have libolgx (from XView 3.x) to compile it.
  213.     Get olvwm from an ftp site such as export.lcs.mit.edu (in the contrib
  214.     directory; watch out for any patches there).
  215.  
  216. @ Can I use my favorite window manager with OpenWindows instead of olwm?
  217.     Yes.  If you use twm, for example, or mwm, you won't be able to use
  218.     the Pin and Unpin feature of olwm, and you (probably) won't see the
  219.     footers some windows use to display certain messages.
  220.  
  221.     If you use twm, you'll want to use the f.delete function to unpin menus
  222.     and get rid of programs that don't have a `quit' button when not run
  223.     under olwm.
  224.     For twm, put this in your $HOME/.twmrc:
  225.     LeftTitleButton "target" = f.delete
  226.     where "target" is a 16x16 icon from /usr/include/X11/bitmaps.
  227.     Alternatively, try
  228.     # Add a menu to each window managed by twm or tvtwm
  229.     LeftTitleButton ":menu" = f.menu "OL.menu"
  230.  
  231.     menu "OL.menu" {
  232.         "Quit"         f.delete
  233.     }
  234.  
  235.     For mwm, you can double-click on the menu icon on the left of the title
  236.     bar to dismiss a pop-up window (I am told).  XView windows might simply
  237.     iconify themselves; there's a C work-round for this involving editing
  238.     the program to make the windows `transient'.
  239.  
  240.     See the manual page for your window manager (twm, etc).
  241.  
  242. Subject: OpenWindows, Terminals, and Other Displays
  243.  
  244. @ Can I use olwm and olvwm without OpenWindows or on an X Terminal?
  245.     The OpenWindows xnews server combines SunView, NeWS (PostScript) and X11.
  246.     This means that it can run programs compiled for any of those systems.
  247.     Unfortunately, it means that some OpenWindows programs need either NeWS
  248.     or SunView support, and thus won't run on an X terminal.  This includes
  249.     pageview in particular.
  250.  
  251.     You can use olwm or olvwm (see above) on an X terminal or a non-Open-
  252.     Windows display, and most OPEN LOOK clients (e.g. OLIT or XView ones)
  253.     will work perfectly well.  You may find that you get complaints about
  254.     fonts not being found.  If so, see the Fonts section below.
  255.     If you are running the window manager built-in to an NCD terminal, you
  256.     may have problems with input focus; setting *Input: True in the terminal's
  257.     XDefault file in /usr/lib/X11/xdm may or may not help.
  258.  
  259.  
  260. Subject: Configuration Files: Getting started with OpenWindows
  261.      
  262. @ What configuration files do I need to know about?
  263.  
  264.     .xinitrc and .xsessionrc
  265.  
  266.     The first time you run OpenWindows, a .xinitrc file will be created in
  267.     your login directory ($HOME).  If it already exists, you might have to
  268.     edit it somewhat; it's simplest to move it and any other old X11 files
  269.     you have to another directory, and then merge the old and new files.
  270.  
  271.     If your site uses xdm, you should use .xsession instead of .xinitrc,
  272.     since xdm doesn't look at your .xinitrc file.
  273.  
  274.     .openwin-init, .openwin-menu and .openwin-sys
  275.  
  276.     These are optional files you can create in your $HOME directory,
  277.     depending on which version of olwm or olvwm you use.
  278.     Look in $OPENWINHOME/lib (normally /usr/openwin/lib) for these files
  279.     without the leading . and copy any you want to change.  You may need
  280.     to edit your .xinitrc to get them recognized.  If you are not on an
  281.     X terminal, you will want to run a console window (such as cmdtool -C,
  282.     shelltool -C, xterm -C) or Chuck Musciano's "contool" program so that
  283.     system output will be directed there instead of writing over your screen.
  284.     Note that .openwin-sys is not executed unless you edit .xinitrc.
  285.  
  286.     .Xdefaults
  287.  
  288.     You can put X Windows resource specifications in here.  In particular,
  289.     it is a good idea to include at least:
  290.     OpenWindows.FocusLenience:    true
  291.     *Input: TRUE
  292.     These allow non-ICCCM-compliant programs to receive input even if they
  293.     forget to ask for it.
  294.  
  295.     Props, the program that runs when you select `properties' from the default
  296.     root menu under olwm or olvwm, writes your choices into .Xdefaults.
  297.     Don't put comments in .Xdefaults, since `props' deletes them.
  298.  
  299.     .startup.ps
  300.  
  301.     This is the NeWS user profile file, read by OpenWindows (actually xnews)
  302.     on startup.     This is documented in the NeWS programming manual, near the
  303.     back.  The most useful thing to put here is PostScript code to change
  304.     the keyboard repeat rate, although you must be very careful, since a
  305.     syntax error in the PostScript means that xnews will either not start up
  306.     at all or will get broken in strange ways.    The NeWS manual gives code
  307.     that is both incorrect and insufficient.
  308.     WARNING: things in this file rarely work on both OpenWindows 2 and 3.
  309.  
  310.     Note that the mouse speed is best set in your .xinitrc with xset m; see
  311.     the man page for xset ("man xset", and "xset -help") for more information.
  312.  
  313.     Here's what $HOME/.startup.ps  should look like if you want a delay of
  314.     about a third of a second (300000 microseconds), and a repeat rate of
  315.     twenty or so keys per second (30000 microseconds between repeats) for
  316.     OpenWindows 3.  You'll have to experiment a bit because the RepeatTime
  317.     is the delay between keys sent, and thus doesn't include the time to
  318.     process each key, which is probably higher on my 4/110 than on your
  319.     SuperSPARC 10/51 GTi injection :-)  Again, this is for OpenWindows 3...
  320.  
  321.     % don't want the demos - see p. xxxii of NeWS Toolkit Reference Manual
  322.     % /IncludeDemos? false def
  323.  
  324.     UserProfile begin
  325.         /KeyRepeatThresh 0 300000 timeval storetimeval def
  326.         /KeyRepeatTime 0 30000 timeval storetimeval def
  327.         % Note: 300000 and 30000 differ greatly...
  328.     end
  329.  
  330.     You must also have a .user.ps file in the same directory, like this:
  331.  
  332.     /NeWS 3 0 findpackage beginpackage
  333.     /TNTCore 3 0 findpackage beginpackage
  334.     /TNT 3 0 findpackage beginpackage
  335.  
  336.     ClassRepeatKeys pop    % force repeat.ps to autoload
  337.  
  338.     endpackage endpackage endpackage
  339.  
  340.     If you change these parameters, you can test them without restarting the
  341.     OpenWindows server like this:
  342.     $ psh -i .startup.ps
  343.     Welcome to X11/NeWS Version3
  344.     $ psh -i
  345.     Welcome to X11/NeWS Version3
  346.     /classinit ClassRepeatKeys send
  347.     %%% now press control-D
  348.  
  349.     You can also either of these two files (.startup.ps and .user.ps) to make
  350.     the root window be "retained", so that a PostScript drawing on the
  351.     background won't be erased when you move windows:
  352.     frambuffer /Retained true put
  353.     will do this.  Note that this may increase the amount of memory used
  354.     by the NeWS server (xnews) dramatically.
  355.     
  356.     See also:
  357.     Trouble Shooting: It Won't Let Me Type
  358.     Trouble Shooting: Is there an easy way to edit Xdefaults?
  359.     Environment Variables
  360.  
  361. @ How can I configure OPEN LOOK for a left-handed mouse and keyboard?
  362.     You can use xmodmap to change the mouse buttons, but be prepared for one
  363.     or two occasional surprises.  See also "man 7 xview" for a list of
  364.     keybindings you can change, at least for XView programs.
  365.  
  366.     With OpenWindows 2.0, you can use defaultsedit to set the mouse mappings
  367.     and then let SunView handle them.  The status returned by svenv should
  368.     tell you whether your server is running under SunView or not; put this
  369.     in your .xinitrc:
  370.  
  371.     if eval `svenv -env`
  372.     then
  373.     xmodmap -e "pointer = 1 2 3"
  374.     input_from_defaults
  375.     else
  376.     xmodmap -e "pointer = 3 2 1"
  377.     fi
  378.  
  379.  
  380. @ How can I get the screen to go blank when the system is idle?
  381.  
  382.     Run screenblank from /etc/rc.local if you can; it's a boring but
  383.     effective screen saver.  See `man screenblank'.
  384.     Under Solaris 2 you'll need to copy screenblank from an older system, as
  385.     it's not supplied.  Then add a new file in /etc/rc2.d to make the system
  386.     run screenblank automatically.  You can also pick up a replacement
  387.     screenblank by Jef Poskanzer (<jef@acme.com> or <jef@netcom.com>).
  388.  
  389.     ftp://ftp.netcom.com/pub/je/jef/screenblank.tar.Z
  390.     ftp://ftp.ee.lbl.gov/screenblank.tar.Z
  391.  
  392.  
  393. Subject: Key Bindings, Cut and Paste
  394.  
  395. @ How do I cut and paste between XTerm and OpenWindows programs?
  396.  
  397.     To go from XTerm to textedit (say):
  398.     * Select the text you want to copy by dragging the SELECT mouse button
  399.       in xterm
  400.     * Press COPY in the XTerm (this key is L6, or Meta+c (the O'Reilly
  401.       XView manual gets this wrong)
  402.     * Move to the textedit window, and press PASTE (L8 or Meta+v)
  403.  
  404.     If this doesn't work, see Trouble Shooting: Cut and Paste
  405.  
  406.    To go the other way, from textedit to XTerm:
  407.     * Select the text in textedit.  No need to use COPY
  408.     * Move to the XTerm window and press ADJUST (the middle mouse button).
  409.     * You can also use the COPY/CUT and PASTE buttons.
  410.  
  411. @ COPY/PASTE is boring.     What short-cuts are available?
  412.  
  413.     Quick Copy within textedit, mailtool, etc:
  414.     * Click SELECT to get a text caret where you want the copied text to go
  415.     * Press and HOLD DOWN the PASTE (or CUT) button
  416.     * Select the text you want to copy/move.  You'll see that it's underlined
  417.       or crossed out, as appropriate.  (In the jed demo it goes grey)
  418.     * Let go of the PASTE (or CUT) button.
  419.     * The text you underlined or crossed out appears at the insert caret.
  420.  
  421.     Drag and Drop to Move a Selection
  422.     * Select the text you want to copy or move, by dragging or multiple-
  423.       clicking the SELECT or ADJUST mouse button
  424.     * Put the mouse pointer anywhere within the selection
  425.     * Press and HOLD DOWN down the SELECT mouse button, and move the mouse
  426.       pointer a little to the right; you'll see the cursor changes to be the
  427.       first 3 letters of the text (or some other icon).
  428.     * Still holding SELECT down, move the mouse over the point where you want
  429.       to drop the text
  430.     * You may see the mouse pointer change to a rifle-sight or target, to show
  431.       that it's OK to drop things here
  432.     * Let go of SELECT, and the text is moved.    This works in text fields of
  433.       dialogue boxes as well as in text subwindows.
  434.  
  435.     Drag and Drop to Copy a Selection
  436.     * This is the same as using Drag and Drop to Move a Selection, except that
  437.       you must hold the CONTROL key down as well as the SELECT mouse button.
  438.  
  439. [several sections moved to "deskset.faq" posted separately]
  440.  
  441. Subject: Applications: Finding Out...
  442.     Contact SunSoft (or Sun) and ask for the Catalyst OPEN LOOK guide,
  443.     which lists over 200 pages of applications, and also the _huge_
  444.     Catalyst listing of products for Suns, updated six-monthly.
  445.  
  446.     Sun's free CDWare CD/ROMs each contain demo versions of several popular
  447.     OPEN LOOK applications.  Often you can simply contact the vendor
  448.     concerned to have the license upgraded from demo, and receive the full
  449.     product documentation.
  450.  
  451.     SunPICS produces a CD/ROM for NeWSPrint users, Printer's Pallate, which
  452.     contains NeWSprint drivers for a variety of printers and plotters, as
  453.     well as 600 scaleable fonts that you can license.
  454.  
  455.     There is a separate FAQ posting in comp.windows.open-look that lists
  456.     a number of free and commercial aplications; mail lee@sq.com for a
  457.     copy, including OPEN LOOK UI Application List in the Subject for a
  458.     faster reply.
  459.  
  460. Subject: Fonts
  461.  
  462. @ Does OpenWindows support Type 1 PostScript fonts?
  463.     Yes, under either Solaris 2.  You must use .pfa format, not .pfb;
  464.     I have a program to convert them (lee@sq.com, ask for pfb2ps).
  465.     You will want to add an "XLFD" alias, e.g.
  466.     /-bruce rogers-centaur-medium-r-normal--0-0-0-0-p-0-iso8859-1
  467.     /Centaur-Roman _FontFamilySYN
  468.     (put these all on one line with tabs between them, in Synonyms.list,
  469.     before running bldfamily).
  470.  
  471.     If you have FrameMaker there is a utility to import them, I'm told.
  472.     The 57 fonts supplied with OpenWindows are fully hinted, though, and
  473.     comparing them to the Microsoft Windows and Apple TrueType fonts is
  474.     interesting...  The F3 font format is described in a publication from the
  475.     Sun OpenFonts group, listed in the Bibliography below.  Documentation on
  476.     the unbundled version of TypeScaler is also available from Sun OpenFonts.
  477.  
  478.     You can buy F3 fonts from SunPICS, Monotype, Linotype, URW and probably
  479.     other major foundries.
  480.  
  481.     SunPICS' NeWSPrint software supports both F3 and Type 1 fonts.
  482.  
  483.     TtrueType fonts are not supported at this time.
  484.  
  485. @ Improving font rendering time
  486.     Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  487.     fast as loading a bitmap.  You can pre-generate bitmap fonts for sizes
  488.     that you use a lot, and you can also alter and access the font cache
  489.     parameters.     If you have a lot of memory you might want to increase the
  490.     font cache size.
  491.     $ psh -i
  492.     Welcome to X11/NeWS Version3 <--- psh will say this at you
  493.     currentfontmem =    % type this line ...
  494.     300    % and here's whai my server was using -- 300 Kbytes
  495.     2000 setfontmem
  496.     % Just to check:
  497.     currentfontmem ==
  498.     2000
  499.     See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh -i
  500.     so that the NeWS packages are loaded, since the font memory controls
  501.     are NeWS extensions to PostScript - see the psh man page.
  502.  
  503. @ Making bitmap fonts for faster startup:
  504.     $ mkdir $HOME/myfonts
  505.     $ cd $HOME/myfonts
  506.     $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  507.     Creating Bembo20.afb
  508.     $ convertfont -b Bembo20.afb
  509.     Bembo20.afb->./Bembo20.fb
  510.     Chars parameter greater than number of characters supplied.
  511.     $ ls
  512.     Bembo20.afb    Bembo20.fb    Synonyms.list
  513.     $ bldfamily
  514.     * Bembo               ./Bembo.ff (Encoding: latin)
  515.     cat: ./Compat.list: No such file or directory
  516.     $ xset +fp `pwd`
  517.     $ xset fp rehash
  518.  
  519.     If you want the server to see your new font directory every time,
  520.     add this directory to your FONTPATH environment variable in one
  521.     of your start-up files, e.g. .login or .profile.
  522.  
  523. @ Converting between font formats (convertfont, etc.)
  524.     You can also use Folio fonts with an X11 server, by converting them to a
  525.     bitmap (X11 bdf format) first.  Your licence forbids you from using the
  526.     fonts on another machine, and unless you have NeWSPrint you shouldn't
  527.     use them for printing.  Having said all that...  you can use makeafb and
  528.     convertfont to generate bdf files that you can compile with bdftosnf or
  529.     bdftopcf.
  530.  
  531.     Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts to
  532.     X11 bdf format, which you can then use with either X11 or OenWindows.
  533.  
  534.     You can also use der Mouse's "getbdf" to get bdf fonts from a running
  535.     X display server -- ftp: larry.mcrcim.mcgill.edu (132.206.1.1) /X/getbdf
  536.  
  537. @ Xview/OLIT fonts at 100 dpi
  538.     Put $OPENWINHOME/lib/fonts/100dpi first in your font path.  The glyph
  539.     font for XView controls isn't scaled until Solaris 2, when OLIT, TNT
  540.     and XView all use the same scaled font for controls.  You could probably
  541.     generate a bitmap (see above) for use on other systems, since the font
  542.     is included in the XView source, but I don't know if that's legal.
  543.  
  544. Subject: Trouble Shooting: Strange Error Messages
  545.  
  546. @ No manual entry for cm_lookup
  547.  
  548.     If man doesn't seem to find OpenWindows commands, even though you are
  549.     running OpenWindows, try setting the MANPATH environment variable:
  550.     MANPATH=$OPENWINHOME/share/man:/usr/man; export MANPATH
  551.     or
  552.     setenv MANPATH $OPENWINHOME/share/man:/usr/man
  553.     for csh users.  $OPENWINHOME should be /usr/openwin on most systems.
  554.  
  555. @ window: Window creation failed to get new fd 
  556. @ window: Base frame not passed parent window in environment 
  557. @ Cannot create base frame.  Process aborted. 
  558.  
  559.     These messages all come from SunView programs.  SunView was an
  560.     earlier windowing system for Suns, and was not networked.  Some of
  561.     the SunView programs are still around in /usr/bin, and have names
  562.     that are the same as their OpenWindows counterparts.  You almost
  563.     certainly want to run the programs in $OPENWINHOME instead.
  564.  
  565.     Set your path so that $OPENWINHOME/bin (and $OPENWIN/bin/xview for
  566.     OpenWindows 2) come before /bin (or /usr/bin, they're the same), or
  567.     you'll get the SunView versions of mailtool, cmdtool, shelltool, etc.
  568.  
  569.     If you are trying to run SunView programs, use
  570.     eval `svenv -env`
  571.     (see the man page for svenv) before running Sunview programs; you
  572.     can put this in your .xinitrc file.  The default Sun .xinitrc has this
  573.     already.
  574.  
  575.     NOTE:
  576.     You can't run SunView programs on an X terminal.  You can't run
  577.     SunViw programs to display anywhere except on the console of the
  578.     host running the program.  You may need to be running OpenWindows
  579.     rather than X to run Sunview programs (X can be compiled to work
  580.     with SunView, though).
  581.     SunView programs do not work beyond Solaris 2.2, so you should
  582.     consider moving.
  583.  
  584.  
  585. @ memory fault - core dumped
  586.     If you get this from the binder, or if binder vanishes suddenly,
  587.     get the following patches:
  588.     100493-02 Binder
  589.     100524-03 Cetables
  590.     100626-03 Tooltalk
  591.  
  592. @ Trouble compiling Xt, Xmu or OLIT programs: _get_wmShellWidgetClass
  593.  
  594.     If you are using OpenWindows 3.0 (X11R4-based Xt), contact your local
  595.     Sun office and request the following patches:
  596. 100512-02   4.1.x OpenWindows 3.0 libXt Jumbo patch
  597. 100573-03   4.1.x OpenWindows 3.0 undefined symbols when using shared libXmu
  598.  
  599.     If you can't install the patch, a workaround is to add 
  600.     -u get_wmShellWidgetClass -u get_applicationShellWidgetClass
  601.     on the link (ld or cc ... -o ...) line.  An alternative is to add
  602.     -assert nodefinitions
  603.     to CFLAGS in your Makefile, or even in Imake.tmpl.
  604.  
  605.  
  606. Subject: Trouble Shooting: It Won't Let Me Type
  607.  
  608. @ When I try to type into some programs, I just get beeps or nothing happens
  609.     It is a good idea to include at least:
  610.     OpenWindows.FocusLenience:    true
  611.     *Input: TRUE
  612.     in your .Xdefaults file, as these allow non-ICCCM-compliant programs to
  613.     receive input even if they forget to ask for it.
  614.     See the next item for editing .Xdefaults
  615.  
  616. Subject: Trouble Shooting: Cut and Paste not working
  617.  
  618. @ I can't paste from xterm to XView (including Sun DeskSet) programs
  619.     Under OpenWindows 2, you need to add the following either to your
  620.     $HOME/.Xdefaults file, or to $OPENWINHOME/lib/app-defaults/XTerm instead:
  621.  
  622.     XTerm*VT100.Translations: #override \
  623.         <Key>L6:select-set(CLIPBOARD)\n\
  624.         <Key>L8:insert-selection(CLIPBOARD)
  625.   
  626.     You must not move the mouse between ending the selection and pressing
  627.     L8 (the Paste key)!
  628.  
  629.     Under OpenWindows 3, this is already in the app-defaults file, so if it
  630.     isn't working, check that XFILESEARCHPATH is set to
  631.     /usr/openwin/lib/%T/%N%S
  632.     and if it isn't, either set it or copy/merge the above lines from
  633.     $OPENWINHOME/lib/app-defaults/XTerm into /usr/lib/X11/app-defaults/XTerm.
  634.     [See also: Environment Variables]
  635.  
  636.     This version automatically puts each xterm selection onto the clipboard:
  637.     XTerm*VT100.translations: #override\n\
  638.         ~Ctrl ~Meta<Btn2Up>: insert-selection(PRIMARY,CUT_BUFFER0)\n\
  639.         ~Ctrl ~Meta<BtnUp>: select-end(PRIMARY,CUT_BUFFER0,CLIPBOARD)\n\
  640.         <KeyPress>L8: insert-selection(CLIPBOARD)
  641.     [Note: be sure that the \n\ is at the very end of the line, there must
  642.      be no following spaces, and any + or | signs showing that this FAQ file
  643.      was altered must also be removed!]
  644.  
  645.     If you are using X11R5, you may find that adding the lines
  646. <Key>L10: start-extend() select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0)\n\
  647.        <KeyRelease>L10: kill-selection() \n
  648.     before the <KeyPress>L8 line will make L10 (CUT) work as a cut key!
  649.  
  650.     If you alter $HOME/.Xdefaults instead, you must use what X calls a
  651.     `more specific' resource name:
  652.     xterm.vt100.translations
  653.     will do.
  654.  
  655. @ I can't paste from XView (including Sun DeskSet) programs to xterm
  656.  
  657.     If you don't have the Sun L keys on the left of your keyboard, you can
  658.     use Meta-x, Meta-c and Meta-v for cut, coy and paste respectively.
  659.     You can change the keys by adding the following two lines to
  660.     your .Xdefaults file, edited as you wish (the values shown here are the
  661.     defaults):
  662.  
  663.     Openwindows.KeyboardCommand.Copy: c+Meta,L6
  664.     OpenWindows.KeyboardCommand.Paste", "v+Meta,L8
  665.     
  666.     Lists of resources are in the manual page for xview, and also in the
  667.     thinnish blue book `Companion to Volume 7, XView Reference Manual' from
  668.     O'Reilly, and also in the olwm and olvwm manual pages.
  669.  
  670. @ I can't copy and paste between OSF/Motif and OpenWindows programs.
  671.  
  672.    Adding the following lines to your .Xdefaults file may help:
  673.     *XmText.translations: #override\n\
  674.             <Key>L6:        copy-clipboard()\n\
  675.             <Key>L8:        paste-clipboard()\n\
  676.             <Key>L10:       cut-clipboard()\n
  677.     *XmTextField.translations: #override\n\
  678.             <Key>L6:        copy-clipboard()\n\
  679.             <Key>L8:        paste-clipboard()\n\
  680.             <Key>L10:       cut-clipboard()\n
  681.  
  682. @ I always get the same piece of text when I press PASTE (L8, Meta+v)
  683.     Remove the file /tmp/textsw_shelf and see if that helps; see also the
  684.     next item.
  685.  
  686. @ Cut Copy and Paste don't work at all (OpenWindows only)
  687.     Oh dear.  Use ps -xuaww | grep xv  to check that sv_xv_sel_svc is running
  688.     and that either you or root started it, depending on whether you started
  689.     OpenWindows with "openwin" or by logging in through xdm.
  690.     If not, start it.  If it dies, check that there is no /tmp/.sv_xv_sel_svc
  691.     before restarting it - you may need to be root to remove it, or you can
  692.     reboot your workstation.
  693.     Check that there is space in /tmp (use "df /tmp"), and also see if there
  694.     are a lot of files there with names like /tmp/tty.txt.a01246; if there are
  695.     several hundred of them, cut and paste may take so long that it times out.
  696.  
  697.     Quit any deskset tools such as mailtool, filemgr and cm (calendar), start
  698.     a terminal emulator and remove and /tmp/tty.txt* and /tmp/Text* files
  699.     that are still there.  It's simplest to quit openwin and start it again
  700.     after doing that, if cut and paste was broken, but if it starts working
  701.     again you can just carry on.  Note that files in /tmp not owned by you
  702.     might be in use by another worker comrade, so don't remove those without
  703.     checking first!
  704.  
  705. Subject: Trouble Shooting: Not authorized to use display
  706.  
  707.     If you get error messages that look like
  708.     Xlib:  connection to ":0.0" refused by server
  709.     Xlib:  Internal error during connection authorization check
  710.     Error: Can't Open display
  711.     try, on the machine running OpenWindows or X11,
  712.     xhost +machine
  713.     where "machine" is the computer on which you ran the command that failed.
  714.     If you want to let other users run programs on the same machine as you,
  715.     using your display, you will have to type the bizarre-looking
  716.     xhost +`hostname`
  717.     (or xhost +happyboy, if happyboy is the name of your workstation).
  718.     This lets ANY user on `happyboy' access your display.
  719.  
  720.     With OpenWindows 3 you can also use xauth, and the Programmer's Guide 
  721.     describes how to do this in Chapter 8, p. 101.  This is more secure.
  722.     Also check the man page for fbtab(5) to stop other users accessing the
  723.     framebuffer directly!
  724.  
  725.     Also note that there is a Sun patch for OpenWindows 3.0 under SunOS 4.1.1
  726.     to fix a serious security problem.  It is available through your local
  727.     Sun Answer Center as well as through anonymous ftp from ftp.uu.net
  728.     [192.48.96.2] system in /sun-dist:
  729.     Fix                     PatchID        Filename            Checksum
  730.     loadmodule              1076118        100448-01.tar.Z     04354  5
  731.  
  732.     On an X Terminal, there may be a setup menu that lets you change or
  733.     disable the list of hosts that can access the display.
  734.  
  735.     If you start getting this message after you've been logged in overnight,
  736.     there might be a cron job that's removing the Unix sockets in /tmp
  737.     that are used to communicate with the server when $DISPLAY doesn't have
  738.     a hostname before the :, or is empty.  Have the system administrator
  739.     change the cron script to skip sockets, or log out when you go home!
  740.  
  741. Subject: Trouble Shooting: other common problems
  742.  
  743. @ I get console error messages on my screen and they don't go away (Sun 3 or 4)
  744.     If "refresh" makes the messages vanish, but new ones come along later,
  745.     you need to run "xterm -C" from your .xinitrc, or start one up in
  746.     the background and then  choose Save Workspace from the
  747.     Workspace->Utilities menu.  Better still, pick up "contool" and run
  748.     that.  Get it from export.lcs.mit.edu in the contrib directory.  It
  749.     will monitor the console and open, flash its icon or beep when a
  750.     message appears; it's very easy to configure.
  751.  
  752.     If "refresh" from the Workspace->Utilities menu doesn't make the messages,
  753.     go away...
  754.     a Sun with a cg4 frame buffer has two screens - you can move the
  755.     mouse off the right-hand (by default) edge of the screen and onto
  756.     a whole new (but monochrome) display, called ":0.1".  See the man.
  757.     page for openwin; I have a shell script that checks for this and,
  758.     if there's a /dev/cgfour0, does
  759.         openwin -dev /dev/cgfour0 -dev /dev/bwtwo0
  760.     If you are running X11 or OpenWindows 2, you might need to add this
  761.     to your .xinitrc or other startup file:
  762.     (
  763.         eval `svenv -display unix:0.1 -env`
  764.         olvwm -display unix:0.1
  765.     ) &
  766.     Later releases of olwm and olvwm do this automatically.
  767.     You can also run switcher -e 0 to get rid of the messages.  Also, see
  768.     the note about contool, above.
  769.  
  770. @ Is there an easy way of editing .Xdefaults?
  771.     Use `props', which appears in the default root menu as `properties'.
  772.     This starts `props', a property editor which will re-write your
  773.     .Xdefaults after removing comments.  It then applies any changes.
  774.     Keep comments by using "comment." instead of "!", for example,
  775.     comment.*.font: Palatino-Italic-37
  776.  
  777. @ How do I get the File manager to use emacs instead of textedit?
  778.     set the default editor to
  779.     sh -c "exec emacs -font lucidasanstypewriter-18 \"$FILE\""
  780.     (you can change the font if you prefer a smaller one)
  781.  
  782. @ How do I run OpenWindows in inverse video?
  783.     This tends not to work under OpenWindows 2.     With OpwnWindows 3.0,
  784.     there are various ways, including using -bg and -fg options.  If you're
  785.     using OpenWindows 2 on a Sun 3 , probably the best you can do (short of
  786.     upgrading the workstation to a SPARC!) is to use xterm instead of cmdtool.
  787.  
  788. @ Why don't flat check-boxes work?
  789.     A known bug may make Guide's output dump core if you use these.
  790.     A workaround is to edit the Guide output, as it's only Guide's output
  791.     that's broken, not the actual check-box code.
  792.     This applies only to versions of DevGuide before Devguide 3.0.  If you're
  793.     still using an ancient DevGuide, you should upgrade as soon as possible;
  794.     the new one is fantastic!
  795.  
  796. @ When I leave OpenWindows, my screen goes blank or my mouse cursor stays
  797.   on the screen.
  798.     Try running clear_colormap; if this helps, put it as the last line in
  799.     the shell script you use to start OpenWindows (e.g. `openwin').
  800.  
  801. @ When I use snapshot, the system crashes, or the server hangs, or something.
  802.     This was a bug related to some systems only.  The only work-round was to
  803.     use some other screen dump program, such as xwd, xv 2.21 or xgrabsc.
  804.     
  805. @ Why have some of my function keys stopped working?
  806.     Keys F11 and F12 changed from SunF36 and SunF37 to SunXK_F36 and SunXK_F37
  807.     respectively in OpenWindows 3.  Applications must be recompiled, or you
  808.     might be able to use xmodmap or the public domain xkeycaps program to
  809.     change your keyboard layout back again.
  810.  
  811. @ When I type shelltool or cmdtool or textedit, I get the Sunview version
  812.     See under "Trouble Shooting: Strange Error Messages" below.
  813.  
  814.     (see also next item)
  815.  
  816. @ Mixing X11 and OpenWindows
  817.     (see also next item)
  818.  
  819.     Note that OpenWindows 3.0 includes the X11R4 core distribution (to patch
  820.     level 18), but not the contrib directory.  These notes apply to
  821.     OpenWindows 2.0, although you could also the do same sort of thing with
  822.     OpenWindows 3.0 and X11R5.
  823.  
  824.     Install the X11 libraries in /usr/lib/X11.    You can intermix OpenWindows
  825.     and X11R4 or X11R5, they're all compatible in this respect.
  826.     Put the X11 binaries in (for example) /usr/bin/X11.
  827.  
  828.     Put /usr/bin/X11 last in your PATH, so that you get OpenWindows versions
  829.     of programs instead of X11 ones where appropriate, although this is a
  830.     matter of preference.  In any event, put the OpenWindows bin directory
  831.     first -- see the preceding item for more details on that.  If you have
  832.     /bin (or /usr/bin, they're the same directory on SunOS) earlier in
  833.     your PATH than $OPENWINHOME/bin/xview, you'll get SunView programs instead
  834.     of OpenWindows ones!
  835.  
  836.     Set LD_LIBRARY_PATH so that /usr/openwin/lib is last, after the X11
  837.     library directory.    This doesn't matter with OpenWindows 3.0, but with
  838.     older versions you'll get error messages from X11 programs if you don't
  839.     do this.  The messages are generally harmless (see next item), although
  840.     xdm core dumps if this isn't right.
  841.  
  842.     Set OPENWINHOME to the directory containing OpenWindows if it isn't
  843.     /usr/openwin.
  844.  
  845.     NOTE:
  846.     OpenWindows 3.3 is based on X11R5, so you don't need to do this.
  847.     In fact, you might as well simply stick to the Xsun server provided
  848.     by Sun, unless it turns out to be buggy.  OpenWindows 3.3 (or 4.0?)
  849.     will probably be released (with Solaris 2.3?) later this year.
  850.  
  851.     See Also:
  852.     Environment Variables (especially XFILESEARCHPATH).
  853.  
  854. @ I get error messages on my screen about ld.so: libX11.so.4 not found
  855.     set LD_LIBRARY_PATH to be /usr/openwin.  If you also use X11, use
  856.          /usr/lib:/usr/5lib:/usr/openwin/lib
  857.     If you put this in a shell script or your .profile, use
  858.     ${OPENWINHOME-/usr/openwin}/lib instead of /usr/openwin; this is for
  859.     /bin/sh; for csh it is different.
  860.  
  861. @ I launch my filemgr and I get ld.so:map heap error (9) at /dev/zero
  862.     Your system needs to be patched.  Look in $OPENWINHOME/lib/OSpatches
  863.     and install the patch.
  864.  
  865. @ Why doesn't AnswerBook run for me?
  866.     You must be running OpenWindows to use AnswerBook.    It won't run under
  867.     X11 (on an X terminal or on anything else) because it uses NeWS to draw
  868.     the PostScript text and pictures.
  869.     If you are using OpenWindows 3.0, you need to use the OpenWindows 3.0
  870.     compatible navigator; it's called .navigator.ow3 on the AnswerBook CD/ROM.
  871.     If all AnswerBook users are using OpenWindows 3.0, you can replace
  872.     navigator wih .navigator.ow3 altogether (rename the old one first to
  873.     satisfy your sense of paranoia!)
  874.     The navigator.ow3 binary is also on CD/Ware Vol 2.
  875.     Note that the data files are in PostScript, so you can look at them with
  876.     a PostSript viewer (q.v.).
  877.  
  878. @ Why aren't there any fish in realxfishdb?
  879.     A fixed version of realxfishdb is available by ftp from
  880.     ftp.eng.auburn.edu [131.204.10.91] as /pub/realxfishdb.Z
  881.  
  882. @ Why is the Properties choice disabled in the Window menu?
  883.     It isn't implemented yet.  Many programs do respond to the Properties
  884.     Key (L3), though, or have a pop-up menu with Properties on it.
  885.     Under Solaris 2, programs using the NeWS toolkit (TNT, q.v.) take one
  886.     last sneer at X by providing a Properties menu that lets you rotate or
  887.     scale the window!  Try $OPENWINHOME/demo/{rap,jet,jed,text} for example.
  888.  
  889. @ File completion in the C-shell is broken in cmdtool
  890.     Sadly true, but use shelltool or xterm instead and it's fine.  It also
  891.     works if you run command tool on a remote machine.
  892.     Fixed in Solaris 2, and presumably in the XView 3.2 distribution.
  893.  
  894. @ When I run OLIT programs, some of the widgets are red!
  895.     Release 3 of OLIT added mouseless operation; action widgets can be
  896.     selected via the keyboard.  The currently selected item is highlighted
  897.     in red (the `Red Stain') to show that it has the input focus.
  898.     To disable it in most places, add this to your $HOME/.Xdefaults file:
  899.     *traversalOn: off
  900.     *TextEdit.traversalOn: on
  901.     *TextField.traversalOn: on
  902.     You can change the color using (for example)
  903.     *InputFocusColor: grey50
  904.     *input*FocusColor: green
  905.     *List*inputFocusColor: <your background color>
  906.     See the man page resources(3w), at the start of the OLIT 3 Widget Set
  907.     Reference Manual included in the OpenWindows 3 programmer documentation.
  908.     Meanwhile contact your distributor and ask for patch id 100451-30, the
  909.     OLIT/3.0 CTE Jumbo Patch.
  910.  
  911.     Solaris 2 includes an OLIT that uses the Giant Caret, just like XView.
  912.  
  913. @ When I run several programs, the colors on the screen all change when
  914.   I move into a different window! ("colormap flashing")
  915.     
  916.     This is becasue most hardware can only display a few colors at a time.
  917.     However, you can minimise the effect with the following procedure:
  918.     *  Start all the applications with colors that you wish to reserve.
  919.     *  Run
  920.     cmap_compact save
  921.        to create the .owcolors file
  922.     *  Put the line
  923.     cmap_compact init
  924.        near the start of your start-up file (.xinitrc)
  925.     *  Exit and then restart the window system.
  926.     *  cmap_compact init will push those colors .owcolors to the end of
  927.     the colormap and reserves them.
  928.  
  929.     Also note that control-L2 locks the colors of the current window, and
  930.     Control-L4 unlocks them -- this is described in the olwm manual page.
  931.  
  932. @ pageiew uses the wrong colors, or makes the colormap flash (see above):
  933.     This problem was reported by people for some reason running the Motif
  934.     window manager (mwm) with OpenWindows.
  935.     Try running pageview like this:
  936.     $OPENWINHOME/bin/reservecolors -svmono
  937.     $OPENWINHOME/bin/pageview
  938.     $OPENWINHOME/bin/reservecolors -discard
  939.  
  940. @ XDM breaks things
  941.     Command tool doesn't like being run without a Unix `controlling terminal'.
  942.     Use /etc/setsid to start your command tools and all will be well.
  943.     SunView applications may need to be run with svenv, as in
  944.     svenv -exec /usr/bin/traffic
  945.     because xdm won't set the necessary environment variables.
  946.     (You can't run SunView programs on an X terminal, of course!)
  947.     Note that the MIT xdm starts up the X server as root, which is a security
  948.     hole for OpenWindows; use the OpenWindows 3.0 xdm or be aware that your
  949.     users can access files and start Unix processes as root...
  950.  
  951. @ Function keys 11 and 12 stopped working
  952.     In OpenWindows 3.0, the X11 names ("keysyms") for these keys was changed
  953.     to SunXK_F36 and SunXK_F37.     Code which uses them should be recompiled,
  954.     or you might be able to get away with
  955.     xmodmap -e 'keysym SunXK_F36 = SunF36'
  956.  
  957. @ Motif applications make my screen hang
  958.    Apply patch 100444-48.
  959.    Note that Motif menus that lock up the screen can be taken down by
  960.    pressing Escape at them.
  961.  
  962. [the xview section is now posted separately]
  963.  
  964. Subject: Environment Variables
  965.  
  966.     Environment variables, and plausible values to use -- this list doesn't
  967.     take into account any local changes that you might have made, of course.
  968.     This list is for OpenWindows 3.0 -- differences for OpenWindows 2.0 are
  969.     marked, and I've added some comments for users of X11R4 and X11R5, too.
  970.  
  971.     DISPLAY  The name of the X Windows Display to use
  972.     :0.0 (on the local machine, the one actually running X11 or xnews)
  973.     :0.1 (on some machines for a second, monochrome screen)
  974.     machine-running-unix:0.0 (on other machines)
  975.     (You may need to do "xhost +other-machine" to let programs on other
  976.     machines use your display; see also under Trouble Shooting, and see
  977.     the section on xauth in the OpenWindows Version 3 Programmer's Guide,
  978.     pp. 101ff)
  979.     See also: console messages, under Trouble Shooting
  980.     FONTPATH  Where xnews searches for fonts
  981.     /usr/openwin/lib/fonts
  982.     (you can also use "xset fp+ dir" to add a directory to the font path,
  983.     but you may have to do "xset fp rehash" afterwards.  This is fine
  984.     under OpenWindows, but many X11 servers have font problems)
  985.     HELPPATH  Where XView looks when you press the Help key (or F1)
  986.     /usr/openwin/lib/locale:/usr/openwin/lib/help
  987.     (On SunOS 4.0.*, or with OpenWindows 2.0, omit the first entry, which
  988.     is for sites using a local other than "C" or "USA").
  989.     LD_LIBRARY_PATH   Where to look to find shared C libraries
  990.     /usr/lib:/usr/5lib:/usr/openwin/lib:/usr/CC/`arch`
  991.     (the /usr/CC/`arch`/lib entry is only needed if you use C++ programs)
  992.     OPENWINHOME     Where OpenWindows lives
  993.     /usr/openwin  
  994.     KEYBOARD, MOUSE -- serial devices to use instead of the console
  995.     (don't set these for normal use; /dev/kbd and /dev/mouse)
  996.     PATH  Where the Shell searches for programs to run
  997.     $(OPENWINHOME)/bin:$(OPENWINHOME)/bin/xview:/usr/local/bin:.\
  998.     $HOME/bin.`arch`:/usr/ucb:/usr/bin:/usr/bin/X11:/usr/hosts:\
  999.     (you will certainly want to change this example!  There is no
  1000.     $(OPENWINHOME)/bin/xview in OpenWindows 3.0)
  1001.     XFILESEARCHPATH  Where programs look for app-defaults files
  1002.     /usr/openwin/lib/%T/%N%S
  1003.         (This is set automatically by "openwin" in OpenWindows 3.0)
  1004.         You might want to use /usr/lib/X11/%T/%N%S, or perhaps both,
  1005.         separated with a :, for example (for sh users)
  1006.             XFILESEARCHPATH=$OPENWINHOME/lib/%T/%N%S:/usr/lib/X11/%T/%N%S
  1007.         export XFILESEARCHPATH
  1008.     If you use X11R5, you might instead want
  1009.         /usr/lib/X11/%L/%T/%N%C%S:
  1010.         /usr/lib/X11/%l/%T/%N%C%S:
  1011.         /usr/lib/X11/%T/%N%C%S:
  1012.         /usr/lib/X11/%L/%T/%N%S:
  1013.         /usr/lib/X11/%l/%T/%N%S:
  1014.         /usr/lib/X11/%T/%N%S:
  1015.         $OPENWINHOME/lib/%T/%N%S
  1016.     (put all this on one line, though, with no spaces!)
  1017.  
  1018.     Together with the following in lib/Xinitrc
  1019.     xrdb -merge <<'END_XRDB'
  1020.        *customization:
  1021.     END_XRDB
  1022.  
  1023.     xrdb -merge <<'END_XRDB'
  1024.     #ifdef COLOR
  1025.        *customization:  -color
  1026.     #endif
  1027.     END_XRDB
  1028.  
  1029.     you automatically get a color oclock, editres, bitmap, xcalc, and
  1030.     xlogo since they use the "*customization" resource appearing as %C in
  1031.     the XFILESEARCHPATH. (see oclock (n))
  1032.     according to Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>.
  1033.  
  1034.  
  1035. Subject: Where Can I get It? Ftp, implementations, etc...
  1036.  
  1037.     XView 3.2 is available by anonymous ftp from export.lcs.mit.edu and
  1038.     elsewhere.
  1039.  
  1040.     MoOLIT can be bought from AT&T in source form.
  1041.  
  1042.     OpenWindows can be obtained from Sun, or you can get the source from
  1043.     Interactive Systems Inc.  It is also included in some vendors' System V
  1044.     Release 4 implementations, although that's not always the latest version.
  1045.     The current release of OpenWindows from Sun for supported architectures
  1046.     is 3.0; for the Sun 3 series it is frozen at OpenWindows 2.0.
  1047.     Note that Sun includes OpenWindows with SunOS, and it is also included as
  1048.     the windowing system for Solaris.
  1049.  
  1050.     There are said (by Sun) to be over 35 ports of OpenWindows either
  1051.     available now or in progress.  Unfortunately, none of them seem to
  1052.     be available from anywhere.  Contact anthony@ovi.com for more information.
  1053.  
  1054.  
  1055. Subject: Bibliography: books, manuals, journals, papers, beer-mats
  1056.  
  1057.     The OPEN LOOK (tm) Graphical Interface is documented in two books:
  1058.     Sun Microsystems Inc., `OPEN LOOK Graphical User Interface Application
  1059.     Style Guidelines', Addison Wesley, 1989
  1060.     and
  1061.     Sun Microsystems Inc., `OPEN LOOK Graphical User Interface Functional
  1062.     Specification', Addison Wesley
  1063.  
  1064.     The Main documentation for the X Window system comes from
  1065.     O'Reilly & Associates in about nine or ten volumes.
  1066.     The most useful for OPEN LOOK users are:
  1067.     Volume 1: XLib Programming Manual
  1068.     Volume 2: XLib Reference Manual
  1069.     Volume 3: X Window System User's Guide
  1070.         (An OPEN LOOK edition of Volume 3 should appear later this year)
  1071.     Volume 7: XView Programmer's Manual [Dan Heller]
  1072.         [make sure you get the edition for XView 3.2]
  1073.     Companion to Volume 7: XView Reference Manual [Ed. Thomas Van Raalte]
  1074.  
  1075.     The Companion to Volume 7 is an expanded version of the Attribute
  1076.     Summary from the previous edition of the XView Programming Manual,
  1077.     together with other reference information, so that in practice you
  1078.     have to buy both books.
  1079.  
  1080.     Unfortunately, the 3.2 edition covers the features new since 3.0
  1081.     only in an appendix, but it's still pretty helpful, and the attributes
  1082.     have been merged in the summary; in addition, much of the book has
  1083.     been reworked, so that it's worth considering the 3.2 edition even
  1084.     if you're using 3.0.
  1085.  
  1086.     O'Reilly also have a thinnish orange book on the differences between
  1087.     X11R4 and RX115.
  1088.  
  1089.     OLIT programmers will also want the Xt books - volumes 4 and 5.
  1090.     There is a new big fat green Vol 5 updated for X11R5.  Make sure you
  1091.     don't get the Motif versions of these books by mistake.
  1092.  
  1093.     A journal, The X Resource, may also be of interest.
  1094.  
  1095.     O'Reilly & Associates, 103 Morris Street, Suita A, Sebastopol, CA 95472
  1096.     +1 707 829-0515, or, in the USA and Canada only, 1-800-998-9938
  1097.     Fax: +1 707-829-0104.
  1098.     Email nuts@ora.com or uunet!ora!nuts.
  1099.     For other distributors: mail, FAX, or call +1 707-829-0515.
  1100.  
  1101.     Some of the O'Reilly examples are available for ftp from
  1102.     export.lcs.mit.edu in the contrib/OReilly directory.
  1103.  
  1104.     The System V Release 4 Documentation from Prentice Hall may also include
  1105.     a section on OpenWindows.
  1106.  
  1107.     David Miller describes programming with OLIT in his
  1108.     `An OPEN LOOK At Unix' (M&T press).
  1109.     
  1110.     Nabajyoti Brkakati gives an excellent introduction to X and to OLIT
  1111.     programming, as well as setting up and using X and OpenWindows, in:
  1112.     `Unix[R] Desktop Guide to OPEN LOOK' SAMS, 1992  ISBN 0-672-30023-0
  1113.     You can get the examples from this book as
  1114.         export.lcs.mit.edu:contrib/naba-olguide-examples.tar.Z
  1115.  
  1116.     Also about using OLIT, and Xt in particular:
  1117.     The X Window System: Programming and Applications with Xt,
  1118.     OPEN LOOK Edition, Doug Young and John Pew, Prentice Hall, 1992,
  1119.     ISBN 0-13-982992-X
  1120.     There are also HP Widgets and Motif versions of this book.
  1121.     The example source code in this book can be obtained by ftp from
  1122.     export.lcs.mit.edu, file "contrib/young.pew.olit.Z".
  1123.  
  1124.     There is an introduction to XView in
  1125.     `Writing Applications For Sun Systems', Vol 1, `A Guide for
  1126.     Macintosh(R) Programmers' (Sun Microsystems, pub. Addison Wesley)
  1127.     
  1128.     Another recent XView book is
  1129.     `Practical XView Programming', Kenneth W. Bibb and Larry Wake,
  1130.     John Wiley & Sons, Inc., 1993, ISBN 0-471-57460-0
  1131.     You can get the examples from this book as
  1132.         export.lcs.mit.edu:/contrib/xvprac.tar.Z
  1133.  
  1134.     Neither of these two XView books elimiates the need for the O'Reilly
  1135.     X Series vols 1, 2 and 7.
  1136.  
  1137.     To learn more about the NeWS and PostScript languages, see
  1138.  
  1139.     The NeWS Book, Springer Verlag, 1989 (sadly, a little out of date)
  1140.  
  1141.     PostScript Language Reference Manual, Second Edition,
  1142.     Adobe Systems Inc., Addison Wesley, 1990 ["the Red Book"]
  1143.         Note that OpenWindows 3 is a level 1 PostScript implementation,
  1144.         with certain Level 2 features (such as Composite Fonts) to some
  1145.         degree.
  1146.     
  1147.     PostScript Language Tutorial and Cookbook,
  1148.     Adobe Systems Inc., Addison Wesley, 1985 ["The blue book"]
  1149.     
  1150.     There are several books on using Solaris (i.e. SunOS).
  1151.     See the FAQ in the Solaris newsgroup.  I'll mention here:
  1152.     `Solaris Porting Guide', SunSoft ISV Engineering et. al.,
  1153.     1993, SunSoft Press (Prentice Hall), ISBN 0-13-030396-8
  1154.     for an excellent (if sometimes over-ebullient) introduction to the
  1155.     differences and new features of Solaris 2, including a clear section
  1156.     on localisation and internationalisation.   Includes diskette.
  1157.  
  1158.     Sun also supplies a large amount of documentation with OpenWindows,
  1159.     although you may have to order it separately.  Here's what I have; they
  1160.     are each a little over 21 cm square (wider than A4 paper), and vary from
  1161.     about 1 cm to about 3cm thick.  They say `User's Guide' or `Programmer's
  1162.     Guide' on the front.  The User manuals have a red stripe on the bottom,
  1163.     and the Programmer ones have a green stripe.
  1164.  
  1165.     Note:
  1166.     the Solaris 2 documentation sets are red, blue and silver.
  1167.     Watch in particular for small spiral-bound task-oriented `how-to'
  1168.     booklets in the Solaris 2 documentation.
  1169.  
  1170.     Here are the OpenWindows 3.0 part numbers for SunOs 4:
  1171.  
  1172.     800-6006-10 OpenWindows Version 3 Release Manual
  1173.     800-6029-10 OpenWindows Version 3 Installation and Start-Up Guide
  1174.     800-6231-10 OpenWindows Version 3 DeskSet Reference Guide
  1175.     800-6618-10 OpenWindows Version 3 User's Guide
  1176.     800-6323-10 Desktop Integration Guide [also available in bookstores?]
  1177.     800-6027-10 Programmer's Guide
  1178.     800-6005-10 OpenWindows Version 3 Reference Manual [the man pages]
  1179.     800-6319-10 The NeWS Toolkit 3.0 Reference Manual
  1180.     800-6736-10 NeWS 3.0 Programming Guide
  1181.     800-6055-10 OLIT 3.0 Widget Set Reference Manual
  1182.     800-6198-10 XView 3.0 Reference Manual: Converting SunView Applications
  1183.  
  1184.     800-6854-10 F3 Font Format Specification [order separately]
  1185.  
  1186.     There are also some other sets of documentation, including the TypeScaler
  1187.     documentation from the OpenFonts group, for example.  There doesn't seem
  1188.     to be a complete list anywhere.
  1189.  
  1190.     ??????????? ToolTalk 1.0 Setup and Administration Guide (SunSoft, 1991)
  1191.     800-6093-10 ToolTalk 1.0 Programmer's Guide (SunSoft, 1991)
  1192.     There might be documentation about the Link Manager somewhere, too;
  1193.     I am not sure what happened to the Link Manager, is that part of DOE??
  1194.  
  1195.     AT&T includes several large thorny bushes' worth of paper with OLIT.
  1196.  
  1197.     Sun's AnswerBook CD/ROM contains a lot of the above documentation.
  1198.  
  1199.     Volume 8 of the O'Reilly series is about X Administration, and mentions
  1200.     OpenWindows, although it is primarily aimed at X11R5.  A CD/ROM is
  1201.     included, which contains a working X11R5 distribution.  This book will
  1202.     be of particular use with OpenWindows 2.3, based on X11R5.
  1203.  
  1204.  
  1205. Subject: Getting this File, Revision History, Recent Changes
  1206.  
  1207.     Mail lee@sq.com to ask for it.  Douglas N. Arnold (dna@math.psu.edu)
  1208.     keeps an up-to-date copy on ftp.math.psu.edu (currently 146.186.131.129)
  1209.     in the file ~ftp/pub/FAQ/open-look.
  1210.  
  1211.     If you can do gopher or XMosaic, you can also see Andrew Violette's
  1212.     spectacular hypertext version of this document at:
  1213.     http://cs.indiana.edu/faq/OpenLook/front_page.html
  1214.  
  1215.  
  1216. # @(#) $Id: ol1.faq,v 1.51 95/01/27 10:48:47 lee Exp $
  1217.  
  1218.  
  1219. Acknowledgements:
  1220.     Dale Dougherty <dale@ora.com> (Nov/info about new XView book)
  1221.     Antonio Freixas <tonyf@ims.com> (Nov/Motif patch and Escape tip)
  1222.     Karl Glazebrook <kgb@mail.ast.cam.ac.uk> (Motif copy/paste)
  1223.  
  1224.     And many others...    You get deleted from this list after a while.
  1225.  
  1226. -- 
  1227. Liam Quin, SoftQuad Inc +1 416 239 4801 lee@sq.com   <URL:http://www.sq.com/>
  1228. HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval
  1229. SoftQuad HoTMetaL/HTML Editor; SoftQuad Panorama/WWW SGML Viewer (unreleased)
  1230. See our Web page for HoTMetaL ftp sites...  Take off those shoes and relax.
  1231. Archive-name: open-look/02-deskset
  1232.  
  1233.  
  1234. Sun DeskSet is the collection of tools you get with OpenWindows;
  1235. some of these are being ported to Motif for COSE/CDE: cm, mailtool, maybe
  1236. others.
  1237.  
  1238. [1] What are the default key bindings in textedit and elsewhere?
  1239. [2] What can I put in my .ttysrc?     Where is it documented?
  1240. [3] Is there a tty-based interface to cm (Calendar Manager)?
  1241. [4] How can I arrange to have my .signature included in my outgoing mail?
  1242.  
  1243. [1] What are the default key bindings in textedit and elsewhere?
  1244.  
  1245.     See the man page for textedit(1) for some of them.
  1246.     In general, the editing/moving commands go in the opposite direction when
  1247.     shifted - e.g. Ctrl+w deletes a word, and Ctrl+W deletes the word to the
  1248.     right of the insert point.
  1249.  
  1250.     Meta-i - include file        Meta-f - find selection (forward/backward)
  1251.  
  1252.     Ctrl-a - start of line        Ctrl-< - back word
  1253.     Ctrl-e - end of line        Ctrl-> - forward word
  1254.     Ctrl-w - delete word        Ctrl-u - delete to start/END of line
  1255.     Ctrl-Return - move to end/START of document
  1256.  
  1257.     See the O'Reilly XView Reference Manual for a list of some of the default
  1258.     keys; see also the olwm or olvwm manual page.
  1259.  
  1260. [2] What can I put in my .ttysrc?     Where is it documented?
  1261.  
  1262.     See the manual page for shelltool.
  1263.  
  1264. Subject: DeskSet, Mailtool, Calendar Manager, etc.
  1265.  
  1266. [3] Is there a tty-based interface to cm (Calendar Manager)?
  1267.     Yes, cm_delete, cm_insert and cm_lookup; these all have manual pages.
  1268.     If "man cm_delete" doesn't work or gives strange messages, see under
  1269.     Trouble Shooting: Strange Error Messages, below.
  1270.  
  1271.     On Solaris 2.3, cm_lookup is broken (and maybe cm_delete & cm_insert
  1272.     are too), as it always uses a date in 1970...   You may have to use
  1273.     an earlier (or later) version.  The Solaris 2.2 and 2.4 ones seem OK.
  1274.  
  1275. [4] How can I arrange to have my .signature included in my outgoing mail?
  1276.     The best way is:
  1277.     $ cd
  1278.     $ cp /usr/lib/.textswrc .
  1279.     $ chmod +w .textswrc
  1280.     edit .textswrc (use vi, textedit, or whatever you prefer)
  1281.     add the follwing:
  1282.     KEY_RIGHT(3)    FILTER
  1283.     cat ~/.signature
  1284.     (you might need to change ~ to $HOME)
  1285.  
  1286.     Now pressing R3 will insert your .signature file.
  1287.  
  1288.  
  1289. [END of deskset FAQ]
  1290.  
  1291. # @(#) $Id: ol2.faq,v 1.3 95/01/27 10:46:59 lee Exp $
  1292.  
  1293.  
  1294. -- 
  1295. Liam Quin, SoftQuad Inc +1 416 239 4801 lee@sq.com   <URL:http://www.sq.com/>
  1296. HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval
  1297. SoftQuad HoTMetaL/HTML Editor; SoftQuad Panorama/WWW SGML Viewer (unreleased)
  1298. See our Web page for HoTMetaL ftp sites...  Take off those shoes and relax.
  1299. Archive-name: open-look/03-xview
  1300.  
  1301.  
  1302. This is a new FAQ.
  1303.  
  1304. Contributions will be welcomed; mail them to lee@sq.com (Liam Quin),
  1305. preferably including "XView FAQ" in the Subject line.
  1306.  
  1307. Contents:
  1308.     Sources Of Information:
  1309.     The Future of XView
  1310.     Scrolling Lists
  1311.     How do I keep a pop-up window displayed after a button is pressed?
  1312.     how do I make an XView button look pressed?
  1313.     OpenWindows 3 imake doesn't work properly
  1314.     The pop-up menu in my canvas has funny colours
  1315.     The second ttysw in my program doesn't work
  1316.     How do arrange to have a (Cancel) button to stop a calacuation?
  1317.     How do I put panel items on a canvas?
  1318.  
  1319.  
  1320. Subject: Sources Of Information:
  1321.     netnews newsgroups:
  1322.     alt.toolkits.xview    - best for specific XView questions
  1323.     comp.windows.open-look
  1324.     comp.windows.x        - highest volume
  1325.     Watch for Frequently Asked Questions lists (such as this) in these
  1326.     groups.  The article you are reading is part of the alt.toolkits.xview
  1327.     and comp.windows.open-look FAQ.
  1328.  
  1329.     Books:
  1330.     See the comp.windows.open-look FAQ, which lists several books on X
  1331.     and XView.  The O'Reiily books in particular are recommended.
  1332.     
  1333.     Source: code:
  1334.     the FTP site export.lcs.mit.edu, in directory /contrib, has the
  1335.     full XView source (the latest release is 3.2), together with lots
  1336.     of X programs.  Programs whose name ends in "tool" or starts with
  1337.     "xv" are often based on XView.
  1338.  
  1339. Subject: The Future of XView
  1340.  
  1341.     XView is no longer a Strategic Direction for Sun.  It will be supported
  1342.     for the next few years, but new features will not be added.
  1343.     On the other hand, the source is publicly available.
  1344.     XView is included with SunOS and Solaris, and also with some versions
  1345.     of Linux.
  1346.  
  1347.     Sun will be moving to a motif-like user interface in 1995, with the
  1348.     shipping of COSE/CDE.  At that time, XView will be less interesting to
  1349.     many people.
  1350.  
  1351.     Since it's probably the easiest X toolkit to use that's easily and
  1352.     widely available, XView will probably be widely used for a while.
  1353.  
  1354.  
  1355.  
  1356. Subject: Scrolling Lists
  1357.  
  1358. @ How do I set the font of individual Scrolling List items?
  1359.     PANEL_LIST_FONT takes an int row_number and an Xv_opaque font_handle.
  1360.     PANEL_LIST_FONTS take a NULL terminated list of Xv_opaque font_handles.
  1361.     There is no easy way to make an entire list fixed width font.
  1362.     You have to make sure that you always specify PANEL_LIST_FONT when you
  1363.     insert a new row into that list, or write a convenience function
  1364.     insert_row(list, row, string) that hides the nasty bits.
  1365.     The most efficient way to do this involves creating an Xv_attr array
  1366.     to do lots of insertions at once, complete with PANEL_LIST_FONTs.
  1367.  
  1368.     If you give both PANEL_LIST_STRING and PANEL_LIST_FONT in the same
  1369.     xv_set() call, PANEL_LIST_STRING must be given first, or the default
  1370.     font will be used.
  1371.  
  1372. @ How do I set the selected item of an exclusive list with required choice?
  1373.     If you have a PANEL_LIST with a required choice, and the list is
  1374.     exclusive, you must de-select the old item and select the new one in
  1375.     a single xv_set() call, for example:
  1376.  
  1377.     xv_create(owner, PANEL_LIST,
  1378.         ....
  1379.         PANEL_CHOOSE_ONE, TRUE,    /* only one entry can be selected */
  1380.         PANEL_CHOOSE_NONE, FALSE,  /* one entry must be selected      */
  1381.         NULL
  1382.     );
  1383.  
  1384.     xv_set(List,
  1385.         PANEL_CHOOSE_NONE, TRUE,
  1386.         PANEL_LIST_SELECT, xv_get(List, PANEL_LIST_FIRST_SELECTED), FALSE,
  1387.         PANEL_LIST_SELECT, row, TRUE,
  1388.         PANEL_CHOOSE_NONE, FALSE,
  1389.         NULL
  1390.     );
  1391.  
  1392.     Note: you may find it useful to start with PANEL_CHOOSE_NONE true so that
  1393.     the list comes up with no selection; and then on the first selection set
  1394.     PANEL_CHOOSE_NONE to FALSE so that a selection is required.
  1395.  
  1396.  
  1397.  
  1398. Subject: How do I keep a pop-up window displayed after a button is pressed?
  1399.     In the button callback, do
  1400.         xv_set(button, PANEL_NOTIFY_STATUS, XV_ERROR, NULL);
  1401.     This will keep the window visible.
  1402.     You might also need to investigate the MENU_NOTIFY_STATUS attribute.
  1403.  
  1404. Subject: how do I make an XView button look pressed?
  1405.     call panel_begin_preview() and panel_cancel_preview(); these are
  1406.     documented in -- er -- the XView 3 source...
  1407.  
  1408. Subject: OpenWindows 3 imake doesn't work properly
  1409.     Here is Greg Earle's patch, to be applied in $OPENWINHOME; note that you
  1410.     should edit lib/config/sun.cf afterwards to get OSName and
  1411.     OSMinorVersion right (MinorVersion is 1 in SunOS 4.1.2, for example).
  1412.     I have edited the patch a little, so any bugs are mine [lee@sq.com] :-)
  1413.  
  1414. *** bin/xmkmf.orig    Wed Sep 18 07:02:02 1991
  1415. --- bin/xmkmf    Tue Aug  6 00:39:20 1991
  1416. ***************
  1417. *** 30,34 ****
  1418.   
  1419.   elif [ -n "$OPENWINHOME" ]; then
  1420. !     args="-DUseInstalled $OPENWINHOME/lib/config"
  1421.   
  1422.   else
  1423. --- 30,34 ----
  1424.   
  1425.   elif [ -n "$OPENWINHOME" ]; then
  1426. !     args="-I$OPENWINHOME/lib/config -DUseInstalled -DXCOMM='/**/#'"
  1427.   
  1428.   else
  1429. *** lib/config/site.def.orig    Wed Sep 18 01:26:19 1991
  1430. --- lib/config/site.def    Tue Aug  6 00:44:37 1991
  1431. ***************
  1432. *** 0 ****
  1433. --- 1,7 ----
  1434. + #define BinDir $(OPENWINHOME)/bin
  1435. + #define LibDir $(OPENWINHOME)/lib
  1436. + #define IncRoot $(OPENWINHOME)/share/include
  1437. + #define InstallNonExecFile(file,dest)                    @@\
  1438. + install:: file                                @@\
  1439. +     $(INSTALL) -c $(INSTDATFLAGS) file dest
  1440. + #define NullParameter
  1441.  
  1442.  
  1443. Subject: The pop-up menu in my canvas has funny colours
  1444.     You need to use CMS_CONTROL_CMS when you create the CMS for your canvas.
  1445.     This allocates the OPEN LOOK UI 3D colors at the start of the colormap.
  1446.     The foreground color lives right at the end.
  1447.  
  1448. Subject: The second ttysw in my program doesn't work
  1449.     XView only supports one ttysw per program!
  1450.  
  1451. Subject: How do arrange to have a (Cancel) button to stop a calacuation?
  1452.     When you are doing cpu-intensive calculations, your program probably
  1453.     isn't calling the XView notifier, so that button presses aren't noticed
  1454.     until the computation is over.
  1455.     There are several possible solutions:
  1456.     * use the implicit or explicit notify displatch mechanism, described
  1457.       in the Notifier chapter of the XView Programming Manual (O'Reilly);
  1458.     * use multiple processes, and send signals;
  1459.     * split up the work into small chunks and use notify_stop to return to
  1460.       the main loop for each chunk.
  1461.  
  1462. Subject: How do I put panel items on a canvas?
  1463.     You don't.
  1464.     You can, however, draw on a panel, as if it was a canvas.
  1465.     Another alternative is to use olgx to render the controls, but this is
  1466.     a little tricky.
  1467.  
  1468.  
  1469. END of XView FAQ
  1470.  
  1471. # $Id: ol3.faq,v 1.2 1994/09/02 22:08:38 lee Exp $
  1472.  
  1473. -- 
  1474. Liam Quin, SoftQuad Inc +1 416 239 4801 lee@sq.com   <URL:http://www.sq.com/>
  1475. HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval
  1476. SoftQuad HoTMetaL/HTML Editor; SoftQuad Panorama/WWW SGML Viewer (unreleased)
  1477. See our Web page for HoTMetaL ftp sites...  Take off those shoes and relax.
  1478. Archive-name: open-look/04-program-list
  1479.  
  1480.  
  1481. $Id: ol4.faq,v 1.28 94/11/18 20:17:35 lee Exp Locker: lee $
  1482.  
  1483. Contents:
  1484.     Subject: Applications: Application Builders
  1485.     Subject: Applications: Graphing Tools
  1486.     Subject: Applications: Utilities
  1487.     Subject: Applications: Other
  1488.     Subject: Tools: Terminal Emulators
  1489.     Subject: Other Commercial Applications
  1490.     Subject: Applications: toolkit Extensions
  1491.     Subject: OpenWindows 3 Ports
  1492.     Subject: XView 3 Ports
  1493.     Subject: XView 2 Ports
  1494.     Subject: Games (free and commercial)
  1495.  
  1496.  
  1497. Subject: Applications: Application Builders
  1498.  
  1499. Commercial: DevGuide 3.0
  1500. Contact: SunSoft
  1501.     lets you use Drag and Drop to create an OPEN LOOK application with
  1502.     XView, OLIT, TNT.  Very easy to use.  UIT also supports Guide files.
  1503.  
  1504. Free: dirt
  1505.     there _might_ be an OLIT port of this UI builder.
  1506.  
  1507. Commercial: ExoCode
  1508. Contact: Expert Object
  1509.     one of the first third-party GUI builders to support OPEN LOOK,
  1510.     using the XView toolkit.  It was reviewed in SunExpert magazine
  1511.     in 1990.
  1512.  
  1513. Commercial: ObjectBuilder
  1514. Contact: ParcPlace, Debra Frances debra@ParcPlace.COM, +1 303 440 9991
  1515.     uib is a user interface builder which supports building applications
  1516.     that support both OPEN LOOK and Motif.    It generates code for
  1517.     ParcPlace's OI C++ toolkit and can make use of user created
  1518.     subclasses.  Note: `OI' can also display an OSF/Motif GUI at runtime.
  1519.  
  1520. Free: wcl
  1521.     Uses X resources to specify an Xt widget hierarchy and actions to
  1522.     user-defined callbacks.  uses OLIT, Xt or Motif.
  1523.  
  1524. Commercial: XVT
  1525. Contact: XVT Systems (+1 303-443-4223 or Email "info@xvt.com")
  1526.     Lets you write portable code by providing a thin layer API which sits 
  1527.     on top of the native GUI toolkit.  Write your application in this 
  1528.     abstracted GUI and the toolkit translates into native GUI calls on 
  1529.     OPEN LOOK, Motif, Microsoft Windows, NT, Macintosh, OS/2, and 
  1530.     character terminals.  Includes GUI builder for XVT C toolkit or XVT C++ 
  1531.     class library.  XVT is the base document for the emerging IEEE 1201.1 
  1532.     Uniform (GUI) API standard.
  1533. Note:
  1534.     It's been said on the net that XVT provides a common subset of the various
  1535.     systems, with limited functionality, but I don't know how limited it is --
  1536.     the best answer is probably to look and see if it meets your needs.
  1537.  
  1538.  
  1539. Subject: Applications: Graphing Tools
  1540.  
  1541. Commercial: Robochart
  1542. Contact: Digital Insight, rc-sales@digins.com  +1 805 583 3627
  1543. Ftp: ftp.csn.org (128.138.213.23) in /digins (information and demo)
  1544.     Interactive editor for flow diagrams (dataflow, flowchart, org
  1545.     chart, etc.), with easy-to-use direct manipulation drag&drop interface.
  1546.     Supports hierarchical diagrams, colors, fonts, and several line and
  1547.     object types (including images). Define custom commands to be within
  1548.     diagrams. PostScript, MIF, HPGL, and ASCII output formats.
  1549.  
  1550. Free: dstool
  1551.     XView-based program that plots Lorenz Attractors and other chaotic things
  1552.     in real time.  Also includes a mathematical expression interpreter.
  1553.     ftp: macomb.tn.cornell.edu
  1554.  
  1555. Free: ACE/gr --  graph and analysis program, xvgr
  1556. Ftp: ftp.ccalmr.ogi.edu; xvgr-2.10pl1.tar.Z in /CCALMR/pub/acegr
  1557.     Handles x-y scatterplots, lineplots, bargraphs, FFT analysis, running
  1558.     averages, polynomial fits, etc.
  1559.  
  1560. Free: robot - a scientific graph plotting and data analysis tool 
  1561. Contact: Robin Corbet <corbet@astro.psu.edu>
  1562. Description:
  1563.     Graph plotting in various styles & axes; Data manipulation - arithmetic,
  1564.     functions, smoothing, folding, sorting; Fitting to data using Gaussians,
  1565.     polynomials, Lorentzians, and/or user defined functions; Annotation of
  1566.     graphs; log files;  Commands with loops etc.; Colour; PostScript output.
  1567. Ftp: ftp.astro.psu.edu in pub/astrod
  1568. Ftp: files: robotx0.48.tar.Z - everything
  1569. Ftp: files: RobotManual.ps.Z - just the documentation.
  1570. Ftp: files: robot.sun4.Z  - binary built on a SPARCstation.
  1571. Requirements:
  1572.     Robot is XView based. User interface portions of code are written in
  1573.     'C'. Data manipulation code is written in FORTRAN. Hence a FORTRAN
  1574.     compiler is also required or the public domain f2c package.
  1575.     Alternatively, a SPARC binary is available by anonymous ftp.
  1576. Notes:
  1577.     The latest "numbered" version is robotx0.48.tar.Z (robot-beta.tar.gz
  1578.     contains a number of bug fixes). Binaries for DEC (Ultrix) and IBM PC
  1579.     clones (LINUX) are also available.
  1580.  
  1581.  
  1582. Subject: Applications: Utilities
  1583.  
  1584. Free: boss
  1585. Description:
  1586.     An OPEN LOOK UI to the Casio BOSS scheduler
  1587.  
  1588. Free: props
  1589. Ftp: export.lcs.mit.edu /pub/R5untarred/contrib/lib/xview3/clients/props/*
  1590. Description:
  1591.     This is the OpenWindows properties editor, that appears when you choose
  1592.     the Properties... item from the WorkSpace menu.
  1593.  
  1594. Free: contool
  1595. Ftp: from export.lcs.mit.edu
  1596. Description:
  1597.     a special-purpose console-window that can filter out or take special
  1598.     action on specified console messages; written by Chuck Musciano.
  1599. Requirements: XView
  1600.  
  1601. Free: faces
  1602. Description:
  1603.     displays pictures of people who have sent you electronic mail.
  1604.     Violates the Data Protection Act in the U.K.
  1605.  
  1606. Subject: Applications: Other
  1607.  
  1608.  
  1609. Commercial: Bimail 400
  1610. Contact: BIM (+32-2-759.59.25) pge@sunbim.be
  1611. X.400-address: C=be;A=RTT;P=BIM;O=Horizon;S=Geurts;G=Patrick
  1612. Notes:
  1613.     Bimail is a complete X.400 electronic mail system.  It consists
  1614.     in a user interface which gives access to all X.400 services
  1615.     with a consistent look and feel, a message transfer agent (MTA) system
  1616.     which can transfer messages over X.25, TP.4 and TCP/IP (using RFC 1006).
  1617.     A gateway to SMTP mail is also available.
  1618.  
  1619. Free: calentool
  1620. Description:
  1621.     a day/week/month/year at-a-glance calendar and almanac.
  1622. Ftp: export.lcs.mit.edu:/contrib/calentool2.2Xp1.tar.Z
  1623. Contact: Bill Randle, Tektronix, Inc. <billr@saab.CNA.TEK.COM>
  1624.  
  1625. Free: emacstool
  1626. Description:
  1627.     a SunView program that was converted to XView, and is included with the
  1628. GNU emacs distribution.
  1629.  
  1630. Free: olxvman
  1631. Description:
  1632.     manual page browser
  1633. Ftp: qiclab.scn.rain.com:/pub/sun/olxvman.tar.Z
  1634.  
  1635. Free: WorkMan - Audio CD player for X11 (Sun, Ultrix, HPUX, Linux)
  1636. Requirements: XView libraries
  1637. Ftp: Source; sample database; Ultrix, HP binaries: ftp.hyperion.com in /WorkMan
  1638. Contact: koreth@hyperion.com (Steven Grimm)
  1639.  
  1640.  
  1641. Free: pan - Postit notes
  1642.  
  1643. Free: WAIS
  1644. Ftp: sunsite.unc.edu
  1645. Description:
  1646.     Networked, distributed text-retrieval system.  OLIT-based front end.
  1647. Notes:
  1648.     You might to need to add -lce to the Makefile.
  1649.  
  1650. Free: xrolo - Rolodex card index/address book
  1651.  
  1652. Free: xv_display
  1653. Description:
  1654.     An XView program for showing a text file, like more(1).
  1655.  
  1656. Commercial:  SearchIt 1.0
  1657. Contact: SunSoft or SunExpress 
  1658.     US: 1-800-873-7869;  UK: 0800 89 88 88
  1659.     Germany: 01 30 81 61 91;  France: 05 90 61 57
  1660. Platforms: SPARC, Solaris 1.x
  1661. Price: $249
  1662. Notes:
  1663.     SearchIt is a full text search and retrieval application designed to
  1664.     improve individual and group productivity.  It makes an index to files
  1665.     and can later retrieve documents by words or phrases, ranking the results
  1666.     in relevance order.
  1667.  
  1668. Commercial: ShowMe
  1669. Contact: SunSoft
  1670. Notes:
  1671.     Conferencing software that lets multiple connected users share the same
  1672.     drawing screen, with bitmap capture and moveable pointer.
  1673. Requirements:
  1674.     You can only run one ShowMe per computer, so you have to have a CPU per
  1675.     conference member.
  1676.  
  1677. Free: xvman - Man Pages viewer
  1678. Notes:
  1679.     I can't find this, but see the olxvman.
  1680.  
  1681. Free: xvtdl - ToDo List manager
  1682. Ftp: export.lcs.mit.edu /contrib/xvtdl-4.0.tar.Z, /contrib/xvtdl-4.0-README
  1683. Requirements: XView libraries
  1684. Contact: Mike Jipping jipping@cs.hope.edu  (BITNET: JIPPING@HOPE)
  1685. Organisation: Hope College Department of Computer Science
  1686.      
  1687. Free: name_finder
  1688. Contact: richard.elling@eng.auburn.edu     +1 (205) 844-2280
  1689. Ftp: ftp.eng.auburn.edu; pub/name_finder1.2.tar.Z.
  1690. Patches: pub/name_finder1.2.compile.patch1.
  1691. Requirements: OpenWindows 3.0, C++ 2.1 or greater to recompile
  1692. Description:
  1693.     name_finder was orginally designed as a replacement for the name finder
  1694.     missing from the OpenWindows Version 3.0 mailtool.  It has since grown
  1695.     into a tool for several electronic mail related activities including:
  1696.     interaction with local ListServ robots for handling mail lists,
  1697.     requesting Full.Name style mail aliases from your local PostMaster, and
  1698.     providing mailbox status information ala finger(1).
  1699.  
  1700.     name_finder is written in C++ (cfront 2.1) using gxv++ version 1.1.
  1701.     If you don't have access to a C++ compiler, a precompiled sparc
  1702.     executable is included in the distribution.
  1703.  
  1704. Free: bibcard    interface for BiBTeX databases
  1705. Requirements: XView
  1706. Ftp: iamsun.unibe.ch in /X11/Bibcard-1.11.tar.Z
  1707. Ftp:     includes source and SPARC binary for SunOS 4.1.1.
  1708. Version: 1.11
  1709. Description:
  1710.     GUI for mantaining bibliography databases which can be used with
  1711.     LaTeX, TeX and FrameMaker
  1712.  
  1713.  
  1714. Free: moxftp -- interface to ftp.
  1715. Ftp: ftp.chpc.utexas.edu as file /packages/X/xftp.1.1.tar.Z.
  1716. Contact: Bill Jones jones@chpc.utexas.edu
  1717. Requirements: X11, OLIT or Motif or Athena widgets
  1718. Notes:
  1719.     formerly called xftp.
  1720.     compiles under (at least) Ultrix, AIX 3.1.5, AIX 3.2, Convex OS, SunOS,
  1721.     Unicos 6.1.4, and IRIX.  Uses OLIT.
  1722.     BUG: can also use OSF/Motif and Athena widgets.
  1723.  
  1724.  
  1725. Free: olvwm -- OPEN LOOK Virtual Window Manager
  1726. contact: Scott Oaks
  1727. Ftp: export.lcs.mit.edu in the contrib directory
  1728. Patches: there are two patches
  1729. Requirements: XView 3
  1730. Description:
  1731.     Olvwm is a version of olwm that manages a `virtual desktop' (hence the
  1732.     `v' in its name).  It shows a little map on the screen, with the
  1733.     currently displayed area represented by a little rectangle.     You can
  1734.     move around by dragging the rectangle or with the arrow keys.  This
  1735.     lets you run several clients (applications) and move the display around
  1736.     from one to the other.  Olvwm was derived from the OpenWindows 3.0 olwm.
  1737.  
  1738. Free: ftptool -- OPEN LOOK front-end to ftp
  1739. Requirements: XView
  1740. Ftp: export.lcs.mit.edu in /contrib
  1741.  
  1742. Free: Hyperlook
  1743. Contact: The Turing Institute
  1744. Requirements: OpenWindows 3 (running the xnews server, not X11)
  1745.     Hypertext package written entirely in NeWS.  Runtime from turing.com
  1746.     in /pub or ftp.uu.net (graphics/NeWS/HyperLook1.5-runtime.tar.Z)
  1747.  
  1748. Maestro (ftp from sioux.stanford.edu)
  1749.     Multimedia authoring tools, including support for sound, text & video.
  1750. xvnews (ftp from export.lcs.mit.edu)
  1751.     An xview-based newsreader for netnews.
  1752.  
  1753. Free: xvttool
  1754. Ftp: cs.dal.ca:/pub/comp.archives
  1755. Ftp: ftp.inria.fr:/X/contrib-R5/clients
  1756. Ftp: lth.se:/pub/netnews/alt.sources/volume92/dec/xvttool*.Z
  1757. Ftp: src.doc.ic.ac.uk:/usenet/comp.archives/x11/terminal/xvttool
  1758. Description:
  1759.     A vt100/102 emulator, in both XView and SunView versions.  Includes
  1760.     buttons for the PF keys, etc.
  1761.  
  1762. Subject: PostScript and Graphics Viewers
  1763.  
  1764. Commercial: pageview - PostScript previewer
  1765. Contact: Included in OpenWindows as part of DeskSet.
  1766. Notes:
  1767.     Type 1 support only in OpenWindows 3.0.1 under Solaris 2.1.
  1768.     Antialiasing support - with colour OpenWindows 3 try pageview -aa -dpi 150
  1769.     Note that pageview uses the X11/NeWS server to interpret the PostScript,
  1770.     and thus won't run on an X terminal or other non-OpenWindows server.
  1771.     It's *not* enough to be runing an OPEN LOOK UI [tm] window manager such
  1772.     as olwm.
  1773.  
  1774. Commercial: xps - PostScript program editor and previewer
  1775. Contact: included with OpenWindows 2.0 under demo and share/src
  1776. Notes:
  1777.     Only runs under OpenWindows 2.
  1778.  
  1779. Commercial: psh
  1780. Contact: included with OpenWindows
  1781.     simple interface to NeWS and the OpenWindows server
  1782.  
  1783. Free: ralpage
  1784. Ftp: export.lcs.mit.edu in contrib/clients
  1785. Notes:
  1786.     Crispin Goswell's PostScript interpreter, much hacked.
  1787.     Not OPEN LOOK compliant.  No Type 1 font support.
  1788.     There are other versions of this called `xps', `postscript', etc.;
  1789.     don't confuse this `xps' with the one mentioned above.
  1790.  
  1791. Free: ghostscript
  1792. (from the Free Software Foundation)
  1793.     Supports Type 1 fonts.  Not OPEN LOOK based.
  1794.  
  1795.  
  1796. Subject: Tools: Terminal Emulators
  1797.  
  1798. Free: cmdtool, shelltool
  1799. Requirements: XView 3 toolkit
  1800. Notes:
  1801.     These are included in the XView source distribution from
  1802.     export.lcs.mit.edu in /contrib; they're also included with Sun's
  1803.     OpenWindows.
  1804.  
  1805. Commercial: SwitchTerm
  1806. Contact: Micro Resources Inc., Columnbus, Ohio, USA, +1 614 766-2335
  1807. Notes:
  1808.     A version of Xterm with an OPEN LOOK UI, print interface,
  1809.     ANSI X3.64 colour escape sequences, etc.
  1810.  
  1811. Commercial: IsoTerm
  1812. Contact: The Bristol Group Ltd., +1 415 925-9250 and (49) 6105-2945 (Germany)
  1813. Requirements: OpenWindows 3 (??)
  1814. Other Products: IsoTeX, IsoFax, Power Base
  1815. Notes:
  1816.     An OLIT-based terminal emulator.  I couldn't get the demo version to
  1817.     give me a shell prompt, although it did look like it was a pretty fll
  1818.     vt340 emulation, with double-height characters, colour, fonts, grahics
  1819.     and so forth.
  1820.     With the Union Flag (the British flag) as their logo I somehow expected
  1821.     an English address, perhaps in Bristol...
  1822.  
  1823. Subject: Other Commercial Applications
  1824.  
  1825.     Contact SunSoft (or Sun) and ask for the Catalyst OPEN LOOK guide,
  1826.     which lists over 200 pages of applications.
  1827.  
  1828.     You can also get the free CDWare CD/ROM, which contains demo versions
  1829.     of several popular OPEN LOOK UI applications.  Once you've done this,
  1830.     you can often simply contact the vendor concerned to have the license
  1831.     upgraded from demo, and receive the full product documentation.
  1832.  
  1833.  
  1834. Product Name: Author/Editor - SGML-based text editor/word processor
  1835. Company Name: SoftQuad Inc., +1 416 239 4801, mail@sq.com
  1836. Description:
  1837.     Word processor or text editor that manipulates ISO 8879 SGML documents.
  1838. Interfaces: OPEN LOOK UI (XView), OSF/Motif, Mac, MS/Windows
  1839.  
  1840.  
  1841. Product Name: Poplog
  1842. Contact (Educational):
  1843.     Poplog Sales,
  1844.     School of Cognitive and Computing Sciences, Brighton, BN1 9QN, England
  1845. Phone: +44 (0)273 678188
  1846. Email: popsales@cogs.susx.ac.uk
  1847. Contact (Educational, USA):
  1848.     Computable Functions Inc. 35 South Orchard Drive, Amherst, MA 01002, USA
  1849. Phone: (413) 253-7637
  1850. Contact (Other):
  1851.     Integral Solutions Ltd., Unit 3, Campbell Court, Bramley,
  1852.     Basingstoke, Hampshire, RG26 5EG, England.
  1853. Phone:  +44 (0)256 882028
  1854. Fax:    +44 (0)256 882182
  1855. Email:  isl@integ.uucp
  1856. Interfaces: OPEN LOOK, Motif, Athena, Custom (poplog)
  1857. Platforms: Sun, DEC, Solbourne, MIPS, Silicon Graphics, HP, VAX, 386 soon
  1858. Source-Available: Libraries: Yes; System: Academic only.
  1859. Description:
  1860.     A integrated programming environment consisting of Pop-11, Prolog,
  1861.     Standard ML, and Lisp, all compiled to machine code via a common virtual
  1862.     machine.  Pop-11 provides a rich interface to the X Toolkit from all the
  1863.     Poplog languages.  The OLIT, Motif, and Athena widget sets are supported,
  1864.     and also the custom Poplog (Xpw) widget set.  Includes XVed, a customisable
  1865.     multi-window editor.  Under the OPEN LOOK UI and OSF/Motif the Poplog User
  1866.     Interface (PUI) provides a graphical interface to the Poplog system.
  1867.     High-level libraries allow graph drawing, turtle graphics, and the simple
  1868.     creation of basic button/menu based interfaces.
  1869.  
  1870.  
  1871. Subject: Applications: toolkit Extensions
  1872.  
  1873.  
  1874. Product Name:     Xtra XWidgets
  1875. Company Name:     Graphical Software Technology
  1876. E-Mail:           info@gst.com
  1877. Phone:            310-328-9338;    Fax: 310-376-6224
  1878. Keywords:         graphics, library, widgets, spreadsheet, help
  1879. Interfaces:       OPEN LOOK, Motif
  1880. Platforms:        SPARC, HP9000s300/400/700, IBM RS6000, Interactive 386
  1881. Requirements:     X11, Xt, Xol (or Xm) libraries and headers; X11
  1882. Price:            $795/single user, $3000/network, $5000/source
  1883. Support-Price:    $400/30 calls
  1884. Source-Available: yes
  1885. Description:
  1886.     The Xtra XWidget library contains a set of widgets that are subclassed
  1887.     from and compatible with either OLIT or Motif widgets.  The library
  1888.     includes widgets that implement the following: Spreadsheet, Bar Graph,
  1889.     Stacked Bar Graph, Line Graph, Pie Chart, XY Plot, Hypertext, Hypertext
  1890.     based Help System, and Data Entry Form.  Widgets have been successfully
  1891.     integrated with both TeleUSE from Telesoft and Builder Xcessory from
  1892.     ICS.  A free demo is available for any of the supported platforms.
  1893.  
  1894. Product Name:     XRT/Graph
  1895. Company Name:     KL Group
  1896. E-mail: sun.com!suncan!klg!info, info@klg.com
  1897. Phone: +1 416 594-1026
  1898. Description:
  1899.     XRT/graph is a graph object that extends the XView toolkit;  There are
  1900.     also Xt versions for OLIT and Motif.  XRT/graph supports line plots,
  1901.     scatter-plots, strip-charts, bar charts, stacking bar charts, pie charts
  1902.     and filled-area charts, singly and in combination.  It supports real-time
  1903.     updates, true Postscript output, and intelligent user feedback.  It comes
  1904.     with Builder, a graph prototyping tool, which supports code & resource
  1905.     file generation.  A free demo (vmgraph) is available.
  1906.     There are free integration kits for UIM/X, TeleUSE, and Builder Xcessory
  1907.     (others in progress).
  1908. Availability:
  1909.     XRT/graph for XView and OLIT are only available on SPARC.
  1910.     XRT/graph for Motif is available on a dozen or so platforms.
  1911.  
  1912.  
  1913. Free: Slingshot XView extension
  1914.  
  1915.     Slingshot provides rectangles (like the Xt Intrinsics' RectObj gadget),
  1916.     drag-and-drop support, images, icons and text, trees, lines, arrows...
  1917.  
  1918.     Get it by ftp from export.lcs.mit.edu, in /contrib/SlingShot2.0.tar.Z
  1919.     (remember to use binary mode in ftp!).
  1920.     You may also be able to get it by ftp to ftp.x.org in /contrib.
  1921.     The mail server has been withdrawn.
  1922.  
  1923.  
  1924. Ada bindings for XView
  1925.     Sun Ada 1.1 includes among other things an Ada Source Code Generator
  1926.     for Devguide.  It uses the Verdix XView Ada bindings.
  1927.     It does not yet [July 1992] support gfm (the guide file manager).
  1928.  
  1929. C++ Bindings for XView
  1930.  
  1931. Qualix's XV++.
  1932.  
  1933. UIT
  1934.  
  1935.  
  1936. Subject: OpenWindows 3 Ports
  1937.  
  1938.     Sun: SPARC, SunOS 4.1
  1939.     Sun: SPARC, Solaris 2 (actually 3.0.1?)
  1940.     others: none so far...
  1941.  
  1942. There are said (by Sun) to be two or three ports of OpenWindows either
  1943. available now or in progress.  Contact Anthony Flynn at Open Vistas
  1944. International (anthony@ovi.com) for more information.  (originally they
  1945. said 35, but perhaps they meant 3.5)
  1946.  
  1947. OpenWindows source is available - commercially, it costs about $5,000 for
  1948. the server, including TypeScaler and the toolkits; deskset (filemgr etc) is
  1949. another $25,000; ToolTalk is $40,000 or so.
  1950.  
  1951.  
  1952. Subject: XView 3 Ports
  1953.  
  1954. What: XView 3
  1955. System: Apple A/UX
  1956. Porter: lmj@uncompaghre.jax.org (Lou Jones)
  1957. Ftp: encyclo.jax.org
  1958. Notes:
  1959.     The libraries and utilities (olwm, cmdtool, etc) are available for
  1960.     anonymous ftp from encyclo.jax.org. I used gcc 2.1 to compile the
  1961.     sources. If there is enough interest, I can make the diffs
  1962.     available.
  1963.  
  1964. System: Concurrent 7000 (68040 based)
  1965. Porter: sinan@Mtesol.boeing.com (Sinan Karasu)
  1966.  
  1967. System: DECStation/Ultrix
  1968. Porter: dscott@ittc.wec.com (Dave Scott)
  1969. Ftp: media-lab.media.mit.edu:~ftp/xview3-ultrix.4.2-mips.tar.Z
  1970. Notes:
  1971.     Let me stress that this is *not* fully tested, but seems to work
  1972.     pretty well.  Please let me know about any problems you find.
  1973.     Problems I already know about:
  1974.     Large buttons under *any* non-Sun X server (non-xnews; i.e. any
  1975.     standard MIT X11R[45] server) have the bottom of the button
  1976.     chopped off.  We're working on this one. :-)
  1977.     XView 3 is also available on the DEC Freeware CD, from DECUS.
  1978. [actually this seems *not* to be Dave Scott's port; please accept my apologies
  1979.  for listing this incorrectly.  A correct entry will appear as soon as I get
  1980.  the necessary information.  -- Lee]
  1981.  
  1982. System: HP 720
  1983. Porter: (?)
  1984. Ftp: tesla.ucd.ie in /pub
  1985. Notes:
  1986.     Includes HP 720 build, HP XView patch file, Xvgr.
  1987.  
  1988. System: HP9000/300 series
  1989. Porter: tjc@ecs.soton.ac.uk (Tim Chown)
  1990.  
  1991. System: HP9000/7XX series
  1992. Ftp: ftp.csc.liv.ac.uk hpux/X11/xview-3.part[123].tar.Z
  1993.  
  1994. System: HP9000/7XX series (XView 3.2)
  1995. Ftp: ftp.csc.liv.ac.uk pub/xview3.2
  1996. Notes:
  1997.    This is **NOT** the usual HP Archive at Liverpool; this port of XView3.2
  1998.    doesn't follow the usual conventions that apply to packages which are
  1999.    available on that archive.
  2000.    
  2001.    This port uses modified copies of the files 
  2002.    /usr/include/X11R5/X11/Xlib.h and /usr/include/X11R5/X11/Xlibint.h
  2003.    The files as supplied by HP are not touched but it is possible
  2004.    that a new version of the HP X server might break the port.
  2005.  
  2006.    Some contributed clients are also included.
  2007.  
  2008.  
  2009.  
  2010. System: Intel (SysVR4/i386)
  2011. Porter: dawes@physics.su.OZ.AU (David Dawes)
  2012. Ftp: ftp.physics.su.oz.au, suphys.physics.su.oz.au  /Esix_4/x11r5 hierarchy
  2013. Notes:
  2014.     His patches were for Esix 4.0.3 but should work on DELL, ISC and Intel
  2015.     SVR4 with no worries. The files are README.xview3 and xview3.diff.Z.
  2016. See Also: linux
  2017.  
  2018. System: IBM RS/6000
  2019. Porter: tmcconne@sedona.intel.com (Tom McConnell)
  2020. Compiler: bsdcc
  2021. Ftp: export.lcs.mit.edu:contrib/xview3/Fixes/xview3_rs6k_unofficial.patch.Z
  2022. Notes:
  2023.     There is still a problem with tty support for the RS/6000. For
  2024.     instance, the cmdtool will not work. Still, most everything else works.
  2025.     For those of you who have already installed my previous patch, I have
  2026.     put a separate patch for just the shared library problem. This file is
  2027.     contrib/xview3/Fixes/xview3_rs6k_XView_lib.patch.Z.
  2028.  
  2029. System: linux
  2030. Porter: Kenneth Osterberg <lmfken@lmf.ericsson.se>
  2031. ICompiler: gcc 2.3.3, libc4.2
  2032. Ftp: tsx-11.mit.edu /pub/linux/binaries/usr.bin.X11/xview3L2
  2033. Ftp: sunsite.unc.edu
  2034. Notes:
  2035.     Inlcudes olvwm, UIT
  2036.  
  2037. System: SGI
  2038. Porter: Rainer Sinkwitz <sinkwitz@ifi.unizh.ch>
  2039. Ftp: export.lcs.mit.edu:/contrib/xview3/Fixes/xview3_sgi_unofficial.patch.tar.Z
  2040. Notes:
  2041.  
  2042. System: Solbourne Series 5
  2043. Porter: tmcconne@sedona.intel.com (Tom McConnell)
  2044.  
  2045.  
  2046. Subject: XView 2 Ports
  2047.  
  2048. In general, there is no point in using XView 2 if you have XView 3 available;
  2049. it's a good idea to look for an XView 3 port first.  Moving from XView 2 to
  2050. XView 3 is usually simply a matter of recompiling, unless you've done
  2051. "dirty tricks" or used undocumented calls.
  2052.  
  2053.  
  2054. System: Stellar GS100 (Stardent 1000) and Stardent 1500 & 3000
  2055. Porter: arvai@scripps.edu (Andy Arvai)
  2056. Ftp: perutz.scripps.edu in the pub/xview directory
  2057. Notes:
  2058.     Stardent is now Kubota Pacific (KPC)
  2059.  
  2060. System: Harris Nighthawk 4000 system (CX/UX Unix)
  2061. Porter: andy@harris.nl (Andy Warner)
  2062. Status: Commercial
  2063.  
  2064. System: SGI/Iris
  2065. Porter: (?)
  2066. Ftp: wuarchive.wustl.edu:graphics/graphics/sgi-stuff/XView/xview2
  2067.  
  2068. System: VAX/VMS
  2069. Porter: TGV Inc (?)
  2070. Notes:
  2071.     Steven Fenger <svfenge@afterlife.ncsc.mil> wrote:
  2072.     A company called TGV makes a product called "XView for VMS".
  2073.     They made XView 2.0 libraries.  I haven't seen them advertising
  2074.     XView 3.0 libraries yet.
  2075.  
  2076. Subject: Games (free and commercial)
  2077.  
  2078. Commercial: Aviator - flight simulator for GX-equipped SPARCStations
  2079. Contact: Artificial Horizons Inc, aviator-interest@ahi.com;  +1 415 367 5029
  2080. Requirements: OpenWindows (2 or 3), SunOS 4.1 or later, SPARC GX or GXplus
  2081.  
  2082. Free: hexsweeper - minesweeper game based on hexagons
  2083. Contact: lee@sq.com, include HexSweeper in Subject
  2084. Requirements: OpenWindows 3.0 or later
  2085. Toolkit: TNT 3
  2086.  
  2087. Free: 
  2088.  
  2089. Free: sidtool - PacMan game
  2090. Ftp: ftp.uu.net /usenet/comp.sources.games/volume1/sidtool/*
  2091.  
  2092.  
  2093.     an OPEN LOOK PacMan(tm) surrogate that
  2094.     appears as a debugger - the bad guys are code bugs that
  2095.     move around your screen; you (the good guy) chase them
  2096.     with a 19" monitor that eats bugs.
  2097.  
  2098.  
  2099. Commercial: SimCity
  2100. Contact: Dux Software, Los Altos, CA
  2101. Price: US$89
  2102. Requirements: OpenWindows 3 (uses NeWS).  Doesn't run on a 4/110 with cg4 :-(
  2103.  
  2104. Free: Spider (Included in OpenWindows under `demo' and `share/src')
  2105.     A patience-style card game with two packs of cards and
  2106.     excellent bitmap cards.
  2107.     I suggest recompiling to allow the cards to have rounded edges.
  2108.  
  2109. Free: Xblackjack (ftp from export.lcs.mit.edu as contrib/xblackjack-2.1.tar.Z)
  2110.     A MOTIF/OLIT based tool constructed to get you ready for the casino.
  2111.  
  2112.  
  2113. -- 
  2114. Liam Quin, SoftQuad Inc +1 416 239 4801 lee@sq.com   <URL:http://www.sq.com/>
  2115. HexSweeper NeWS game;OPEN LOOK+XView+mf-fonts FAQs;lq-text unix text retrieval
  2116. SoftQuad HoTMetaL/HTML Editor; SoftQuad Panorama/WWW SGML Viewer (unreleased)
  2117. See our Web page for HoTMetaL ftp sites...  Take off those shoes and relax.
  2118.